Alidad Posted May 5, 2008 Share Posted May 5, 2008 Hi, i really need help to solve this problme becuase i have spend one whole day to figure out how to solve that. please check Verifying email address sample tutorial from http://www.phpeasystep.com/phptu/24.html and i have tested from my server, the first step works great by send data to mysql along with conformation code number. After that is suppose to send email conforamtion from mysql, but it could not be abel to send email for some reason. I thought maybe i go head to change some code to see if that works, instead of put mail($to,$subject,$message,$header); i put mail('name@name.com',$subject,$message,$header); is works great when they get email conformation, but then, is not working when use "$to" which is mean email address of who to send to. Dose any idea hwo can i solve thsi problme! I really need help please thanks. AM Quote Link to comment Share on other sites More sharing options...
DarkWater Posted May 5, 2008 Share Posted May 5, 2008 Make sure $to is being set correctly. That's the only thing that could possibly go wrong. Quote Link to comment Share on other sites More sharing options...
benphp Posted May 5, 2008 Share Posted May 5, 2008 Agreed - try print "$to"; and see what you get. It's probably empty. Quote Link to comment Share on other sites More sharing options...
Alidad Posted May 5, 2008 Author Share Posted May 5, 2008 I tried everything i could and i still could not be able to solve it, i just don't see what did i missed after I tried everything with "$to" does anyone can test see what did i missed please. AM Quote Link to comment Share on other sites More sharing options...
trq Posted May 5, 2008 Share Posted May 5, 2008 Do you want to post your actual code so we might be able to see the problem instead of guessing at it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.