Dear All,
We have a problem with email sending since we upgraded to 2.25.2 recently (I know, 2.25.3 was just released in the meantime)
Only developer and above user accounts are receiving notification mails from Mantisbt.
For some reason it turned out that mantis was connecting to the local postfix instead of the configured SMTP server for sending email and due to the security settings external accounts were denied from receiving emails.
Now we managed to make it work by adding our SMTP server as a relay server for the postfix configuration.
Is there a way to skip postfix from the chain and to use our SMTP server directly?
Here is the part from our config_inc.php related to email sending:
# --- Email Configuration ---
$g_phpMailer_method = 'PHPMAILER_METHOD_SMTP';
$g_smtp_host = 'our.smtp.host';
$g_smtp_port = '25';
$g_smtp_username = 'We leave it empty';
$g_smtp_password = 'PW';
$g_administrator_email = 'admin@ourdomain';
$g_webmaster_email = 'admin@ourdomain;
$g_from_name = 'Our name';
$g_from_email = 'noreply@ourdomain';
$g_return_path_email = 'admin@ourdomain';
$g_email_receive_own = OFF;
$g_email_send_using_cronjob = OFF;
Thank you in advance,
Greg
E-mail notifications are not sent to users
Moderators: Developer, Contributor
Re: E-mail notifications are not sent to users
You have to set
Code: Select all
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;