piphansdk Posted August 18, 2013 Share Posted August 18, 2013 Hi. I searched the entire page for a topic, as i thought it must have ben asked before, but unfortunately i couldn't seem to find anything at all so, i created a perfectly working email, sending as registration@egmun.orgto: someonesmail@something.comCc: my ownBcc: my friends emailevery email will recieve the mail, but they all turnsout to be spam/junk, any idea how to fix/byass this? as the email is sending important informations to our fellow schools. Quote Link to comment https://forums.phpfreaks.com/topic/281329-php-mail-always-ending-in-spam/ Share on other sites More sharing options...
0xMatt Posted August 18, 2013 Share Posted August 18, 2013 If it comes from a local machine(127.0.0.1) it's most likely going to end up in spam. If not you need to make sure you're using a valid email address and that you are using the appropriate headers. http://php.net/manual/en/function.mail.php And check out this relative post that others found useful on stackoverflow: http://stackoverflow.com/questions/12188334/php-mail-form-sending-to-gmail-spam Quote Link to comment https://forums.phpfreaks.com/topic/281329-php-mail-always-ending-in-spam/#findComment-1445705 Share on other sites More sharing options...
Evan_McIntosh Posted August 19, 2013 Share Posted August 19, 2013 (edited) Are you hosting this on your local machine or on a cheap shared web host?Many cheap shared host ips are blacklisted for spam as they attract spammers because there price point. I also found if the email lacks in content it may get sent to the spam. Edited August 19, 2013 by Evan_McIntosh Quote Link to comment https://forums.phpfreaks.com/topic/281329-php-mail-always-ending-in-spam/#findComment-1445731 Share on other sites More sharing options...
darkfreaks Posted August 19, 2013 Share Posted August 19, 2013 Hence why you check your headers so they don't get sent to spam but even then that isn't 100% effective but it helps alot. Quote Link to comment https://forums.phpfreaks.com/topic/281329-php-mail-always-ending-in-spam/#findComment-1445737 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.