How to configure SMTP with STARTTLS?

Bellow is the SMTP settings for Outlook.com

SMTP server name smtp.office365.com
SMTP port 587
SMTP encryption method STARTTLS

Kanboard seem not support for STARTTLS?

Cheers

https://docs.kanboard.org/en/latest/admin_guide/email.html#smtp-configuration

Thank you for your reply, I have looked this guide and the setting works on Gmail with TLS.
However, Outlook.com 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', 'smtp.office365.com');
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!

@MrCfrhk

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’