Configure SMTP for outbound emails

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

To configure outbound email, follow these steps:

Edit the installdir/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 other third-party SMTP services for outgoing email, such as SendGrid or Mandrill, refer to the FAQ.