Jump to content


Photo

problem sending


  • Please log in to reply
1 reply to this topic

#1 chriscloyd

chriscloyd
  • Members
  • PipPipPip
  • Advanced Member
  • 489 posts
  • LocationArizona

Posted 02 April 2006 - 12:07 AM

heres my code it wont send the mail once and awhile it will but 90% of the time it wont

$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");

44 bugs in my java code
44 bugs in my java code
Fix 1 bug, and complie again
122 bugs in my java code

#2 virtual_odin

virtual_odin
  • Members
  • PipPipPip
  • Advanced Member
  • 47 posts
  • LocationLondon, England

Posted 02 April 2006 - 10:44 AM

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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users