Problem with sending email on Mantis 1.1.5

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
srangana
Posts: 2
Joined: 04 Dec 2008, 14:12

Problem with sending email on Mantis 1.1.5

Post 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
rlacroix
Posts: 2
Joined: 11 Dec 2008, 15:53
Location: Near Detroit, Michigan, USA

Re: Problem with sending email on Mantis 1.1.5

Post 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...
Richard J Lacroix
BSCS, LCNAD
Post Reply