chriscloyd Posted April 2, 2006 Share Posted April 2, 2006 heres my code it wont send the mail once and awhile it will but 90% of the time it wont[code]$ToMail = $_POST['email'];$FromMail = "From : registration@cloydfamily.com";$FromName = "The Cloyds";$Subject = "New Member at CloydFamily.com";$headers ='From: webmaster@cloydfamily.com' . "\r\n" . 'Reply-To: support@cloydfamily.com' . "\r\n" .$Message = "Hi,\n\n"."Welcome To The Site CloydFamily.com "."Heres Your Information For Loging In"." But Before You Do You Must Confirm/Verify Your Account:\n"."information\n\n"."=====================\n"."First Name: ".$_POST['firstname']."\n". "Last Name: ".$_POST['lastname']."\n"."Email Address: "."".$_POST['email']."\n"."password: ".$_POST['password']."\n\n"."=====================\n\n"."Copy And Paste The Link Below To Confirm Your Account, or Click On The Link Below\n"."\n"."http://cloydfamily.com/index.php?module=verify&ActivationCode=".$_POST['ActivationCode']."&username=".$_POST['username']."\n"; mail($ToMail,$Subject,$Message,"From : The Cloyd's");[/code] Quote Link to comment Share on other sites More sharing options...
virtual_odin Posted April 2, 2006 Share Posted April 2, 2006 I can't see anything specifically wrong, but here's a generic debugging tip.Comment out all your extras and get an absolutely basic function working. Then add back you extra bits one-by-one until it stops working and then the last bit you added back is where you need to look for the glitch. Bear in mind that sometimes there are more than one issue. 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.