How to configure SMTP with STARTTLS?

Bellow is the SMTP settings for

SMTP server name
SMTP port 587
SMTP encryption method STARTTLS

Kanboard seem not support for STARTTLS?


Thank you for your reply, I have looked this guide and the setting works on Gmail with TLS.
However, only provide STARTTLS one encryption type, it seem the configure is not works to this.

Did you try setting encryption tls?

// We choose "smtp" as mail transport
define('MAIL_TRANSPORT', 'smtp');

define('MAIL_SMTP_HOSTNAME', '');
define('MAIL_SMTP_PORT', 587);
define('MAIL_SMTP_ENCRYPTION', 'tls'); // Valid values are "null", "ssl" or "tls"

// Credentials for authentication on the SMTP server (not mandatory)
define('MAIL_SMTP_USERNAME', 'username');
define('MAIL_SMTP_PASSWORD', 'super password');

Also, check on kanboard > settings > email settings if transport is also set as smtp

Thank you so much, I have found the crux of the problem!
The cause is the email sender address on Kanboard settings is inconsistent to my Outlook address!


How did you complete your set up for STARTTLS?

Just set the encryption type as ‘TLS’
If you are using Outlook, check your setting is enable ‘Sync email’