Foser Posted July 2, 2007 Share Posted July 2, 2007 mail($email, "*******: Project Planner", $mailmessage); alright this is my mail, im trying to do if this was sent echo "The information Was successfully Sent To The Clients Email."; could anyone put me in the right direction. thanks Quote Link to comment Share on other sites More sharing options...
Foser Posted July 2, 2007 Author Share Posted July 2, 2007 bump Quote Link to comment Share on other sites More sharing options...
Yesideez Posted July 2, 2007 Share Posted July 2, 2007 <?php if (mail($toemail,$subject,$body,$header)) { //DO THIS IF MAIL SENDS } else { //DO THIS IF MESSAGE FAILS } ?> Note that this only works to check if the email was sent. Whether the email address you're sending to exists or not is not checked and cannot (easily) be checked. 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.