Configure SMTP for outbound emails

To configure outbound email, follow these steps:

Edit the /opt/bitnami/apps/limesurvey/htdocs/application/config/email.php file adding the SMTP configuration:

$config = array();
$config['siteadminemail']     = '';
$config['siteadminbounce']    = '';
$config['siteadminname']      = 'Your Name';

$config['emailmethod']        = 'smtp';
$config['protocol']           = $config['emailmethod'];
$config['emailsmtphost']      = 'localhost';
$config['emailsmtpuser']      = '';
$config['emailsmtppassword']  = '';
$config['emailsmtpssl']       = '';
$config['emailsmtpdebug']     = 0;
$config['maxemails']          = 50;
$config['emailcharset']       = "utf-8";

return $config;  // You

To configure the application to use the SMTP service provided by Amazon Simple Email Service (SES), refer to the guide on using Amazon SES.

NOTE: Amazon EC2 blocks SMTP port 25 by default on all Amazon EC2 instances, and you must manually request removal of this restriction to use this port.

To configure the application to use other third-party SMTP services for outgoing email, such as SendGrid, refer to the FAQ.

Last modification November 17, 2020