I am sending the same message through the PHP mail() function using two different addresses in the header. When I send the email with contact@domain.com it is marked as spam by gmail but when I send the exact same email with admin@domain.com it goes directly to the inbox. I have tried this with several different messages but with the same results. Does anyone know why the admin@domain.com isn't being marked as spam but contact@domain.com is? Would it make a difference that I have an account on the server with the name of admin? Both emails are able to receive mail.
Asked
Active
Viewed 456 times
-1
-
1Marked as spam by what? – Rob Moir Apr 29 '15 at 05:08
-
@RobM Sorry I forgot to add that. It's being marked as spam by gmail. – blazerunner44 Apr 29 '15 at 05:20
-
possible duplicate of [How to send emails and avoid them being classified as spam](http://serverfault.com/questions/48428/how-to-send-emails-and-avoid-them-being-classified-as-spam) – Andrew Schulman Apr 30 '15 at 13:42
1 Answers
1
In general it is not possible to easily determine why a particular message has been marked as spam by the Google Mail spam filters.
Having said that however one item that is an easy test is to check whether admin@domain.com is in your recipients contact list. Contacts are far less likely to have their emails marked as spam.
You should also review the bulk sender guidelines posted by Google here;
https://support.google.com/mail/answer/81126?hl=en
This contains a whole host of things that you should be doing to ensure your emails are not routinely marked as spam.
Steve365
- 1,253
- 9
- 16