I got a problem with mantis on sending mail automatic!

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
ryan
Posts: 7
Joined: 07 Jan 2008, 08:50

I got a problem with mantis on sending mail automatic!

Post by ryan »

hi:
I am in trouble, please help me!

OS:windows SP2
Running environment:Apache+PHP+mysql
mantis version:1.1.0a1

I did the configuration in this way:
1.Find "smtp" in c:\php-5.0.3\php.ini ,change the SMTP=XXX.XXX.COM#(my mail)
2.Then find sendmail_from in php.ini , change sendmail=XXX.XXX.COM#(my mail)
3. Change file c:\mantis-0.19.2\config_inc.
$g_smtp_host = 'xxx.xxx.com';
$g_smtp_username = 'myaccount';
$g_smtp_password = 'mypassword';
$g_use_phpMailer = ON;
$g_phpMailer_path ='e:\my file path';
$g_phpMailer_method = 2;
$g_return_path_email='my mail';#(which can send mail automatically)
$g_smtp_username='my account';
$g_smtp_password='my password';

After these steps,i register a new account, and it shows that mail has been sent.
But i get no mail.
Need your help!
Kirill
Posts: 638
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: I got a problem with mantis on sending mail automatic!

Post by Kirill »

$g_phpMailer_method = 2; // this smtp method used
$g_smtp_host = 'xxx.xxx.com';
$g_smtp_username = 'myaccount';
$g_smtp_password = 'mypassword';
and

$g_from_email = 'myaccount@xxx.xxx.com';
$g_return_path_email = 'myaccount@xxx.xxx.com';
Post Reply