Page 1 of 1

Mantis on a Wampserver - tutorial for setting up remote SMTP

Posted: 18 May 2011, 12:26
by Jive02
Hi,

could someone please help me with a simple step by step tutorial how to set up emailing on my new MantisBT installation.
The server I am using is a win XP and I am not familiar to Linux.
I have searched for a solution but I cant get mantis to send any emails. (Sending email trough my SMTP server works if I set up an account in outlook express...)
I have tried to make changes in php.ini, add include_path, copied phpmailer class files to this path, changed the mantis config_defaults_inc.php but no emails!

Installation before the email problem was without any problems!

thanx
/jive02

Re: Mantis on a Wampserver - tutorial for setting up remote

Posted: 18 May 2011, 15:25
by davidp
Hi.

By default, Mantis use a php library to send mail. So, you shouldn't have any modification to add if you didn't touch your php config files.

You just need these lines in your config_inc.php file :
$g_phpMailer_method='2';
$g_smtp_host='your.smtp.server';

(sometimes you should have to comment the second line "$g_smtp_host='your.smtp.server'; ", depending on what is running on your server)

Re: Mantis on a Wampserver - tutorial for setting up remote

Posted: 19 May 2011, 10:09
by istvanb
Have you tried the first topic on the list?

http://www.mantisbt.org/forums/viewtopi ... =3&t=15398

Re: Mantis on a Wampserver - tutorial for setting up remote

Posted: 20 May 2011, 07:39
by Jive02
Super! Worked like a charm!