Let me tell you why emails sent through php always goes into spam. This is because you might be using PHP default mailing function i.e phpmailer. And let me tell you that in phpmailer function there is no validation of identity from whose behalf the mail is sent that’s why google mail treats this kind of mail as spam. Google is not able to identify the sender that’s why google consider sender with no identification as spammer.
Now coming back to the solution- Try sending mail from SMTP(Simple Mail Transfer Protocol). It requires validation and authorization from the user by providing login credentials to connect SMTP server with your email account.
0 Comments