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('[email protected]',$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 Link to comment https://forums.phpfreaks.com/topic/104274-need-help-with-php-email-conformation/ 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. Link to comment https://forums.phpfreaks.com/topic/104274-need-help-with-php-email-conformation/#findComment-533816 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. Link to comment https://forums.phpfreaks.com/topic/104274-need-help-with-php-email-conformation/#findComment-533820 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 Link to comment https://forums.phpfreaks.com/topic/104274-need-help-with-php-email-conformation/#findComment-533861 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? Link to comment https://forums.phpfreaks.com/topic/104274-need-help-with-php-email-conformation/#findComment-533869 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.