i cannot send mail to yahoo email accounts
Posted: Sun Jun 01, 2003 1:42 pm
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;
}
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;
}