Allow extra SMTP options
I'm struggling to get smtp working in the config.php file... I know that the smtp server is working as I use it with other email clients.
This is what I have at the moment... do the secure
and auth
entries need to be in an apostrophes?
Does anyone have working smtp settings they can share?
// Config
$config = [
/* general config */
'use_smtp' => true, // use email for polls creation/modification/responses notification (uses smtp only if `use_sendmail` is disabled)
'use_sendmail' => false, // use sendmail instead of smtp
'smtp_options' => [
'host' => 'mail.mysmtp.com', // SMTP server (you could add many servers (main and backup for example) : use ";" like separator
'auth' => true, // Enable SMTP authentication
'username' => 'myemail@mydomain.com', // SMTP username
'password' => '12345', // SMTP password
'secure' => false, // Enable encryption (false, tls or ssl)
'port' => 587, // TCP port to connect to
],
/* home */