rameshfaj Posted July 16, 2007 Share Posted July 16, 2007 In one mail server the php mail function sends the mail to the junk. Can we enforce the server to accept the mail in its inbox rather than to send it to the junk?I found that hotmail sends the email to the junk folder most frequently but gmail and yahoomail deliver it to the inbox. Is there any mechanism? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 16, 2007 Share Posted July 16, 2007 You need to set a good set of headers in order to get the spam filter to not junk your emails... lots of examples here http://uk2.php.net/manual/en/ref.mail.php Quote Link to comment Share on other sites More sharing options...
rameshfaj Posted July 16, 2007 Author Share Posted July 16, 2007 I have written the code for sending emails,that can send the emails in many servers.It has done good in yahoo and gmail too.But I dont know why it doesnt work in hotmail(It sends to the junk!!!).Does this varies from server to server? Quote Link to comment Share on other sites More sharing options...
rameshfaj Posted July 16, 2007 Author Share Posted July 16, 2007 Actually I wanted to send the emails from the server to another server. i.e from the webspace I have bought to the hotmail users.How can I solve the problem? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted July 16, 2007 Share Posted July 16, 2007 as I said - hotmail will filter out based on a few rules - the majority based on header information so you need to create a set of headers that hotmail likes. It may be that the user only accepts mail from people they trust in that case it will never get through. 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.