Page 1 of 1
Help configuring email
Posted: 03 Sep 2008, 00:35
by pvallone
Hi,
I host mantis mantis-1.1.2. on a 3rd party server. I am trying to test the email notification, but it just says "PROBLEMS SENDING MAIL"
Here is my config.
$g_phpMailer_method = 1;
$g_smtp_host = 'sendmailx.xxxxxxx.com';
$g_smtp_username = '
xxx@xxxx.com';
$g_smtp_password = 'xxxx';
$g_email_send_using_cronjob = ON;
$g_email_set_category = OFF;
I have confirmed sendmail address, username and password are correct.
Any ideas?
thx
Re: Help configuring email
Posted: 03 Sep 2008, 11:43
by pvallone
Anyone?
If I can't send an email using send mail can I uses a php script? If so how do i configure it point to the script file?
Code: Select all
<?
require("c:\php\includes\class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "mail.YourDomain.com";
$mail->SMTPAuth = true;
$mail->Username = "you@domain.com";
$mail->Password = "EmailPassword";
$mail->From = "you@domain.com";
$mail->FromName = "Your Name";
$mail->AddReplyTo("you@domain.com");
$mail->AddAddress("user@domain.com");
$mail->IsHTML(true);
$mail->Subject = "Test message sent using the PHPMailer component";
$mail->Body = "This is a test message.";
$mail->Send();
?>
Re: Help configuring email
Posted: 03 Sep 2008, 14:03
by vzw614
Change this value to use SMTP
$g_phpMailer_method = 2;
Re: Help configuring email
Posted: 03 Sep 2008, 19:58
by pvallone
Thanks but that didnt work either. Is there a way to use a php script?
Re: Help configuring email
Posted: 04 Sep 2008, 19:48
by pvallone
I've been working on this for days. Here is my config:
Code: Select all
$g_phpMailer_method = 2;
$g_smtp_host = 'sendmailx.xxxxxxx.com';
$g_smtp_username = 'xxx@xxxx.com';
$g_smtp_password = 'xxxx';
$g_email_send_using_cronjob = ON;
$g_email_set_category = OFF;
Any help would be appreciated. As a note. I use joomla with the same settings and my email works. What am I missing?
Thanks,
Re: Help configuring email
Posted: 05 Sep 2008, 19:26
by pvallone
After searching the forum for similar issues, its clear that many people have this issue. Not sure what it takes to get any decent help, I'll probably try bugzilla.

Re: Help configuring email
Posted: 05 Sep 2008, 19:33
by vzw614
Are you trying to use SMTP? If you are, does your smtp server use the default port or a different port? (25 is default I believe). If it uses a different port check the config file and it shows how to include the port number to use.
Have you checked your php.ini file to make sure the SMTP setting are correct there also?
Re: Help configuring email
Posted: 05 Sep 2008, 21:05
by pvallone
Hi vzw614,
My site is hosted by a 3rd party, which uses a SMPT server. I added the default port (25). Since the site is hosted, I cant access the ini file. The funny thing is, I have a similar configuration for joomla, which works.
Thanks for the help.
Phil
Re: Help configuring email
Posted: 08 Oct 2008, 02:51
by dgizusse
Same issue here. I tried with both version 1.1.2 and 1.2.0a2. Something must be wrong with Mantis since all my other services are working fine.
Re: Help configuring email
Posted: 08 Jan 2009, 11:43
by allan
Hi there, take a look at this:
http://www.mantisbt.org/wiki/doku.php/m ... il_queuing
When email_send_using_cronjob is ON you need to execute a command to send the emails saved on the queue.