Hi ghulamali, in my experience if your email is not being sent then it might be your mail configuration most times (usually to prevent spam):
1. check with your hosting that they support mail(), this is turned on at your host/web server level.
2. you're not missing any extra fields (e.g. port #, proxy path, etc.)
....or the data you're passing in is not formatted correctly:
1. Check to make sure the data your passing in, conforms to the PHP mail() function (e.g. no extra spaces, bank information, etc.)
2. Try taking the "@" off the "@mail($to, $subject, $body, $headers)" statement. You might be able to see if there are any errors.
Bookmarks