Kieran-R Posted March 19, 2011 Share Posted March 19, 2011 Does anyone know a way that makes the emails you send from a PHP script goto there inbox rather than there junk mail folder? I have been researching this for quite a while now, but ive gotten nowhere :( Quote Link to comment Share on other sites More sharing options...
Dave Posted March 19, 2011 Share Posted March 19, 2011 The easiest way is to send all your emails through a trusted SMTP server. Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted March 19, 2011 Author Share Posted March 19, 2011 And how would I do that through a PHP script? Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted March 19, 2011 Author Share Posted March 19, 2011 http://www.jangosmtp.com Is it something like this you are talking about? Quote Link to comment Share on other sites More sharing options...
Dave Posted March 19, 2011 Share Posted March 19, 2011 Well, not exactly. http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm That should help you out on how to set it all up and it's really your own choice to what SMTP server you use. You can use Google's mail servers if you're sending under 10 messages a day (I think I've not checked the limits recently) and that would guarantee the delivery to the inbox. Or just find another trusted SMTP server which allows a higher send mail count. Quote Link to comment Share on other sites More sharing options...
Danny696 Posted March 19, 2011 Share Posted March 19, 2011 Well, in reality, you cant. Because its down to the user, but mainly the email provider, what to class as junk and what not. Quote Link to comment Share on other sites More sharing options...
Sim Posted March 19, 2011 Share Posted March 19, 2011 You could use your isp out going server .-_- Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted March 20, 2011 Share Posted March 20, 2011 Using your ISP is the best way to be banned. Honestly you don't have any good solution for this problem. Why? Because if you use a trusted SMTP and one of the person which receive it report the mail as spam you risk to be banned from the SMTP / ISP. So don't use email verifications as they are simply annoying. Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted March 20, 2011 Share Posted March 20, 2011 Usually most email programs and free mail websites will junk if it does not have: A Subject Line. Return Email Address that can be checked by MX or other method. If your on shared hosting this can be a problem as the return address in the header which is checked by the receivers spam filter will be whatever is set in php.ini So make sure if your using PHP mail to set the from email address in your code. From is a requirement for mail to be sent so use your own email address. Alternatively you can relay the php mail to a valid email service and have it sent that way. Therefore the mx checking is done to their email not yours and all checks out. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted March 20, 2011 Share Posted March 20, 2011 As ROZ said, formatting your email correctly can help matters. Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted March 20, 2011 Author Share Posted March 20, 2011 Ok thanks for the info :) I'll definitely try some of these ideas later. 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.