Can't receive email by smtp

Hi. I am not getting any emails from Kanboard, even though Kanboard gives a message saying it was successfully sent.
I’m using kanboard-1.2.43 and php 8.x. And I also use SMTP. I have configured the infos both in admin email setting panel and in config.php. Here is my mail configuration.

define('MAIL_FROM', 'ANY_EMAIL@163.com');

// E-mail address used for the "Bcc" header to send a copy of all notifications
define('MAIL_BCC', '');
// Mail transport available: "smtp", "sendmail", "mail" (PHP mail function)
define('MAIL_TRANSPORT', 'smtp');

// SMTP configuration to use when the "smtp" transport is chosen
define('MAIL_SMTP_HOSTNAME', 'smtp.163.com');
define('MAIL_SMTP_PORT', 587);
define('MAIL_SMTP_USERNAME', 'ANY_EMAIL@163.com');
define('MAIL_SMTP_PASSWORD', 'ANY_PASSWORD');
define('MAIL_SMTP_HELO_NAME', null);
define('MAIL_SMTP_ENCRYPTION','tls');

// Sendmail command to use when the transport is "sendmail"
define('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs');

How should I change to successfully receive the email sended? I sincerely hope you can kindly give me some advice. TKS.

Accidentally, I responded to your cross post. Please see there.

1 Like