mail config nightmare

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
sandy771
Posts: 3
Joined: 05 Jun 2010, 14:46

mail config nightmare

Post by sandy771 »

I have just reinstalled mantis (complete reinstall) after an upgrade to PHP trashed my system (backup mysql first but sql restore failed - this is another issue though)

Mantis was previously installed and working, I have a vBulletin system up and running and sending mail

I can log in as admin but new user accounts are not getting the confirmation email so I cant delete the adminsitartor account, change the password or log on as a new user.

I have added the following to the config.inc file and when I run the testmail script I get a mail send successful message - but the mail never arrives. I have confirmed that the correct email addresses are set up for the administrator and for a new user I have created as a test account

$g_smtp_host = 'smtp.xxxx.co.uk';
$g_smtp_password = 'yyyyy';
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_username = 'mw@mydomain.com';

I am running on windows with mantis 1.2.1, PHP Version 5.3.2, and mysql version 5.1.44

I could use a gmail account if neccessary to send mail from but have also tried this to no avail

Any ideas please?
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: mail config nightmare

Post by atrol »

if you use SMTP server set
$g_phpMailer_method = PHPMAILER_METHOD_SMTP
Please use Search before posting and read the Manual
sandy771
Posts: 3
Joined: 05 Jun 2010, 14:46

Re: mail config nightmare

Post by sandy771 »

Sorry I should have said that I tried your suggestion and the testmail script indictaed a failure :(
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: mail config nightmare

Post by atrol »

If you want to use gmail, this is worth a try
http://www.mantisbt.org/forums/viewtopi ... =3&t=10331
Please use Search before posting and read the Manual
sandy771
Posts: 3
Joined: 05 Jun 2010, 14:46

Re: mail config nightmare

Post by sandy771 »

I tried gmail and that didnt play either.

The issue seems to be configuration on the server - i'll have a look at what vBulletin is using (this works OK) and see if I can glean anything from that.
Post Reply