Mantis Emails with Google SMTP

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
dirshah
Posts: 12
Joined: 18 Sep 2012, 08:00

Mantis Emails with Google SMTP

Post by dirshah »

Hi All:
I have a very basic knowledge of PHP and I want to know if I will be able to use the google's smtp server to send the emails generated by Mantis Bug Tracker in the mantis_email_tabl table. I did a little R&D and found that the php mail() function cannot be used with windows xp. I do not know what method Mantis is following. Can someone guide me in how I will be able to send these emails?
An example will be appreciated as I have a very basic knowledge of PHP, 2 out of 10 may be :(
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis Emails with Google SMTP

Post by atrol »

Please use Search before posting and read the Manual
dirshah
Posts: 12
Joined: 18 Sep 2012, 08:00

Re: Mantis Emails with Google SMTP

Post by dirshah »

Thanks I already studied that post and it helped. Now one more thing is worrying me that it takes very long to send an email on my local machine. It sometimes throws an error that the processing time exceeded 30 seconds on line 197 in class.smtp.php. I do not know how to reduce that oe make sure it always work fine:(
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis Emails with Google SMTP

Post by atrol »

Which versions of MantisBT and PHP do you use?
Please use Search before posting and read the Manual
dirshah
Posts: 12
Joined: 18 Sep 2012, 08:00

Re: Mantis Emails with Google SMTP

Post by dirshah »

I am using
XAMPP 1.8.8 so PHP 5.4.4 and
mantisbt-1.2.11
atrol
Site Admin
Posts: 8581
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis Emails with Google SMTP

Post by atrol »

dirshah wrote:PHP 5.4.4
I recommend to try latest stable PHP 5.3
There are known bugs using 5.4.x, especially when using with APC.
Please use Search before posting and read the Manual
Post Reply