Hi,
I've got two mantis test site on the same server. One in version 1.1.8, another in version 1.2.2.
The mantis site in version 1.1.8 send mail o user, but the version 1.2.2 one doesn't ?!
They have got the same config_inc.php :
# This option allows you to use a remote SMTP host. Must use the phpMailer script
# One or more hosts, separated by a semicolon, can be listed.
# You can also specify a different port for each host by using this
# format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
# Hosts will be tried in order.
$g_phpMailer_method = 2;
$g_smtp_host = 'my IP...';
$g_smtp_port = 25;
# These options allow you to use SMTP Authentication when you use a remote
# SMTP host with phpMailer. If smtp_username is not '' then the username
# and password will be used when logging in to the SMTP server.
$g_from_email = 'support.ariane@apx.fr';
$g_smtp_username = 'support.ariane@apx.fr';
$g_smtp_password = 'xxxxx';
# It is recommended to use a cronjob or a scheduler task to send emails.
# The cronjob should typically run every 5 minutes. If no cronjob is used,
# then user will have to wait for emails to be sent after performing an action
# which triggers notifications. This slows user performance.
$g_email_send_using_cronjob = OFF;
What is wrong with the mantis version 1.2.2. I don't find anywhere that there is différence between v 1.1.8 and 1.2.2 (for emal configuration)
No mail sending in mantis v 1.2.2
Moderators: Developer, Contributor
Re: No mail sending in mantis v 1.2.2
Try to add the following line to the mantis1.2.2 config_inc.php:
(however this is the default in the config_defaults_inc.php)
$g_enable_email_notification = ON;
do you receive some of the mails (like signup of a new account), or you dont receive emails at all?
(however this is the default in the config_defaults_inc.php)
$g_enable_email_notification = ON;
do you receive some of the mails (like signup of a new account), or you dont receive emails at all?
Re: No mail sending in mantis v 1.2.2
With $g_enable_email_notification = ON; that doesn't change anything.
No mail send.... or receive...
No mail send.... or receive...
Re: No mail sending in mantis v 1.2.2
Code: Select all
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
Re: No mail sending in mantis v 1.2.2
I think PHPMAILER_METHOD_SMTP is like 2, however it worth to try.
I also would give a try to the following code (register a temp gmail address, because it works fine with gmail). I use XAMPP for http+php+sql, I had email issues with WAMP
If it doesnt help I would archive everything then remove Mantis 1.8.8 and give another try. I am not sure about the solution, but worth to try.
let us know!
I also would give a try to the following code (register a temp gmail address, because it works fine with gmail). I use XAMPP for http+php+sql, I had email issues with WAMP
Code: Select all
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_connection_mode = 'ssl';
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_port = 465;
$g_smtp_username = 'youraccount@gmail.com';
$g_smtp_password = 'yourpassword';
$g_administrator_email = 'administrator@example.com';
$g_webmaster_email = 'webmaster@example.com';
$g_from_name = 'Mantis';
$g_from_email = 'mantis@filtronic.com';
$g_return_path_email = 'admin@example.com';
$g_enable_email_notification = ON;
let us know!