Page 1 of 1

i cannot send mail to yahoo email accounts

Posted: Sun Jun 01, 2003 1:42 pm
by bleeker
i have written a members login script with activation in php
the reason why is im learning the language not re-inventing the wheel

here is the problem
the script sends email to all other email servers but not yahoo
eg blabla@yahoo.com /co.uk/ anything with yahoo in it

i receive this message which tell me php did try to send the mail
"An email has been sent to $uemail with your loggining instructions";

i have spoken to my hosting company and they say all is ok on thier end
i just cant figure this one out

you can go to http://www.enetpin.com and see this for your self
you will not get the activation email if you have an yahoo account


please help me
here is the script

if (mail($uemail,$subject,$message,"FROM: $from_email_address")) {
print "An email has been sent to $uemail with your loggining instructions";
// update database only once everything is valid and email can be sent
// this helps to prevent the database clogged up with crap registration
$query = "INSERT INTO meminfo (usrid,password,uemail,user,actflag,actcode) VALUES('$usrid','$password','$uemail','$user','$actflag','$actcode')";
$result = mysql_query($query) or die("Could not insert user information!");
}
else {
print $mailerr;

}

Posted: Sun Jun 01, 2003 1:50 pm
by twigletmac
Is it possible your mail server has been blacklisted or something like that with Yahoo?

Mac

mine or thiers

Posted: Sun Jun 01, 2003 4:10 pm
by bleeker
when you say mail server are talking about my hosting company ?
(stupid question)

Posted: Mon Jun 02, 2003 3:00 pm
by WizyWyg
bleeker, yeah.

Try and set up a Yahoo mail acct to test with. Use your form to send yourself an email.
check your yahoo acct and see if it landed in your bulk mail folder as well.


Yahoo may have your hosting company on their blacklist. If that is the case, then you're going to have to tell users of yahoo to use another service (ie hotmail, etc) or their real isp email acct.

Who is your hosting company?