Page 1 of 1

Problem with sending email on Mantis 1.1.5

Posted: 05 Dec 2008, 13:29
by srangana
Hi all,
I have problem sending email in Mantis 1.1.5.
I'm using PHP5.2.6, MySql, apache2.2. I configure Mantis in my local machine and I dont have any mail server installed in my local machine.
I'm trying to use a remote host to send mails. For that i did the following updates in config_inc.php.
$g_smtp_host= 'smtp.mail.yahoo.com';
$g_smtp_username = 'myid';
$g_smtp_password = 'password';
$g_phpMailer_method= 2;
When i try to test the email, I get the following error
SYSTEM WARNING: fputs(): supplied argument is not a valid stream resource
SYSTEM WARNING: fgets(): supplied argument is not a valid stream resource
Any idea what this error means, I new to PHP i dont know where to go fix the code or is it a configuration issue?
Can anybody help me on this?

regards
Swami

Re: Problem with sending email on Mantis 1.1.5

Posted: 16 Dec 2008, 14:58
by rlacroix
$g_smtp_host= 'smtp.mail.yahoo.com'; may not be resolving correctly, you could try:
$g_smtp_host= 209.191.106.160;

That's assuming that the yahoo smtp server allows emails from a third party application like Mantis. I've never tried it, so your mileage will vary...