Page 1 of 1

Help needed on sending emails

Posted: 25 May 2007, 12:58
by gajakesari
Hi,
I´m very new on Mantis. I´ve installed it on a WinXP system using IIS and it is working fine, except for the fact that I cannot send any emails.
I have searched on the web for help, and tried many things, but could not get it to work.

I´ve tried (without any success):

1) using mail():
  • on config_inic.php: $g_phpMailer_method = 0
    on class.phpmailer.php: var $Mailer = "mail"
and I get:
  • Testing Mail - PROBLEMS SENDING MAIL TO: xxx@xxxx.xxx
    Mailer Error: Could not instantiate mail function.
2) using sendmail:
  • on config_inic.php: $g_phpMailer_method = 1
    on class.phpmailer.php: var $Mailer = "sendmail"
and I get:
  • Testing Mail - PROBLEMS SENDING MAIL TO: xxx@xxxx.xxx
    Mailer Error: Could not execute:
I know something is missing, but I don´t know what.
Can anyone give me some tips, please?
Thanks

Posted: 25 May 2007, 23:03
by zakman
Try to Use SMTP method, by fill the following

$g_phpMailer_method = 2;
$g_smtp_host= ' ';
$g_smtp_username = ' ';
$g_smtp_password = ' ';

Posted: 28 May 2007, 21:01
by deboutv
What is the Mantis version?