Mantis on a Wampserver - tutorial for setting up remote SMTP

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Jive02
Posts: 2
Joined: 18 May 2011, 12:01

Mantis on a Wampserver - tutorial for setting up remote SMTP

Post 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
davidp
Posts: 21
Joined: 29 Apr 2011, 08:18

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

Post 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)
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

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

Post by istvanb »

Have you tried the first topic on the list?

http://www.mantisbt.org/forums/viewtopi ... =3&t=15398
Jive02
Posts: 2
Joined: 18 May 2011, 12:01

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

Post by Jive02 »

Super! Worked like a charm!
Post Reply