Here's are my settings (changed in config_defaults_inc.php, because it doesn't work in default_inc.php) :
Code: Select all
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_host = 'zimbra.xxx.fr';
$g_smtp_username = 'username';
$g_smtp_password = 'password';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 25;
$g_email_send_using_cronjob = OFF;
$g_administrator_email = 'username@zimbra.xxx.fr';
$g_webmaster_email = 'username@zimbra.xxx.fr';
$g_from_name = 'Mantis Bug Tracker';
$g_return_path_email = 'username@zimbra.xxx.fr';
$g_enable_email_notification = ON;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/mantisbt.log';
When I try to register a new user on Mantis webpage, or even when I enter the following command :
Code: Select all
php /var/www/mantis/scripts/send_emails.php
Code: Select all
2015-08-06 16:13 CEST mail Sending message #66 queued on 2015-08-06 15:38 CEST
2015-08-06 16:13 CEST mail ERROR: Message could not be sent - Invalid address: 1
I've read some things about the phpMailer, but I don't really understantd.
Is it a known error ?
Thank you