Mantis not Sending Mail after New User

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
DarkLink
Posts: 1
Joined: 16 Jul 2014, 20:31

Mantis not Sending Mail after New User

Post by DarkLink »

Hi there, I am new to Mantis, thanks for the forum, but I have one problem, I made my installation but Mantis is not sending email after I register someone.. Already checked inbox and spam box alot of times..

The intersting thing is that test_email.php it works !! I receive email on spam box but a email after registration of user is not sent !

Also to be noted that I only managed to make test_email.php working using the method PHPMAILER_METHOD_MAIL - mail() , using the SMTP method it doesn't work !
It gives always this error: "Testing Mail - PROBLEMS SENDING MAIL TO: tiagorvmartins@gmail.com. Please check your php/mail server settings."

I am trying to host Mantis on a free web hosting, having php and mysql, I don't know if I can say which host is... does the forum rules allow me?
Well, the host has :

- free php5 hosting - (latest stable 5.4) with mail() active, GD2 library, php curl, php magickwand/imagick
(support for ImageMagick), php sockets, php xml, xsl, php soap, php pdo
- free MySQL 5 database (latest stable 5.5);


Here are the configurations I used to make the test_email.php working:

$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_host = 'ssl://smtp.gmail.com';
$g_smtp_username = 'tiagorvmartins@gmail.com';
$g_smtp_password = 'mypassword';
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 465;
$g_email_send_using_cronjob = ON;

I also tested with others combinations of ports (25, 465, 587) and connection_modes (ssl and tls) but no luck :s

Can someone please help me? I would really like to make Mantis working :cry:

Thanks alot in advance everyone!
daisyapplegirl
Posts: 2
Joined: 17 Oct 2014, 08:37

Re: Mantis not Sending Mail after New User

Post by daisyapplegirl »

you should modify the file php.ini, which is the setting file of PHP, the 3 items below must be set
SMTP =
smtp_port = 465
sendmail_from =
Post Reply