Forum Moderators: coopster

Message Too Old, No Replies

sat 21st php mail() stopped working properly

it stopped sending mail to any server but mine

         

nippon

1:59 pm on Oct 26, 2006 (gmt 0)

10+ Year Member



Dear All,

A somewhat annoying and perplexing problem.
Last saturday my script which sends html emails to various people stopped sending it to them and was only able to send it to my email on the same server.

Since then i've been unable to use even a simple php mail() script to send email to my yahoo or hotmail accounts.

i've checked for a spam blacklist, seems all clear.

does anyone know of why this might be?

here are the headers:

$header = 'MIME-Version: 1.0' . "\r\n";
$header.= 'Content-type: text/html; charset=utf-8' . "\r\n";
$header.= "X-Sender: < email.com >\r\n";
$header.= "From: Blah <" . $your_email . ">\r\n";
$header.= "Return-Path: < email.com >\r\n"; // Return path for errors
$subject= "Blah";

$to="e@e.com";

mail($to, $subject, $text, $header);

one thing i've noticed is that the return path dosent change even tho i set it here, it just gives a generic nobody@isp.com

any help appreciated
thanks

dreamcatcher

2:13 pm on Oct 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi nippon,

It sounds as though your hosting company have stopped the mail function sending to 3rd party addresses. Some hosts do this if the mail function is abused, in which case you may need SMTP authentication to send to other addresses.

Have you contacted your host about the issue?

dc

justgowithit

2:23 pm on Oct 26, 2006 (gmt 0)

10+ Year Member



It sounds as though your hosting company have stopped the mail function

That sounds like the reason.... your script runs fine for me.

Patty_J

9:26 am on Oct 31, 2006 (gmt 0)

10+ Year Member



nippon,

are you getting returned emails? i am using smtp authentication and still getting every address bounced back

anyone ideas?

Patty_J