मैं पंजीकृत होने पर ग्राहकों को खाता विवरण वाले ईमेल भेजने के लिए PHP मेल फ़ंक्शन का उपयोग कर रहा हूं लेकिन मुझे केवल यह पता चला है कि कुछ लोग ईमेल प्राप्त नहीं कर रहे हैं। जैसे जब मैं जब परीक्षण केवल मुझे और एक अन्य सहयोगी ईमेलPHP मेल फ़ंक्शन कुछ पते पर ईमेल नहीं भेज रहा है
- me who received email
- [email protected]
- collegue who received email
- [email protected]
- collegue who did not receive emails:
- email 1 - [email protected],
- email 2 - [email protected]
- collegue who did not receive emails:
- [email protected]
- collegue who did not receive emails:
- [email protected]
ईमेल स्पैम फोल्डर या तो ..
$from = "companyy <[email protected]>";
$subject = "$username Account Details for companyy.co.uk";
$message = "You have been registered as an administrator of companyy Online.
You can manage your clients, bills and other account functions online.
Your Username: $username
Your Password: $password2
Your Four-Digit PIN: $PIN
Once logged in you can change your password to something you will find easier to remember. Please delete this email once you have changed your settings or memorised them.
Thank you
This is an automated response, please do not reply!";
mail($email, $subject, $message, $from);
Header('Location: results.php?msg=Added Successfully');
हालांकि वे स्पैम फ़ोल्डर में न करना पड़े, जवाब में कई बिंदुओं के लिए सवाल ("क्यों मेरी मेल स्पैम फ़ोल्डर में खत्म कर" http : //stackoverflow.com/search? q = php + spam + mail) इस पर भी लागू होता है। क्या यह स्क्रिप्ट 'companyy.co.uk' सर्वर पर चल रही है? –
ईमेल भेजने पर जेफ एटवुड लेख देखें - कुछ गैर-स्पष्ट गॉथस: http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code .html –
क्या आप sendmail या किस प्रकार का मेल सर्वर उपयोग कर रहे हैं? –