Help configuring email
Moderators: Developer, Contributor
Help configuring email
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
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
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?
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
g_phpMailer_method = 0;
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
Change this value to use SMTP
$g_phpMailer_method = 2;
$g_phpMailer_method = 2;
Re: Help configuring email
Thanks but that didnt work either. Is there a way to use a php script?
Re: Help configuring email
I've been working on this for days. Here is my config:
Any help would be appreciated. As a note. I use joomla with the same settings and my email works. What am I missing?
Thanks,
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;
Thanks,
Re: Help configuring email
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
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?
Have you checked your php.ini file to make sure the SMTP setting are correct there also?
Re: Help configuring email
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
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
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
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.
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.
=======================
Allan Herbert Medeiros
allan.medeiros@transdatasmart.com.br
Transdata Smart Automation Services
http://www.transdatasmart.com.br
Campinas, SP - Brazil
Allan Herbert Medeiros
allan.medeiros@transdatasmart.com.br
Transdata Smart Automation Services
http://www.transdatasmart.com.br
Campinas, SP - Brazil