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;
}
i cannot send mail to yahoo email accounts
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
mine or thiers
when you say mail server are talking about my hosting company ?
(stupid question)
(stupid question)
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?
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?