I am using SMTP plugin in wordpress and I created a valid email on my server to use for SMTP, the authentication is also successful, things are good at this point. Now, when I send the test email the response is true but I am not actually receiving the email on my test email provided in the field.
wp_mail returns true but not receiving mails
This question is same but this does not solve my problem because I am using info@myserver.com as FROM email. I am not using any external email server. Its from my own server.
Please help, this is really important.
EDIT :
Gmail is rejecting the emails, here is the response,
Reporting-MTA: dns; server.servername.com
Action: failed
Final-Recipient: rfc822;mygmailemail@gmail.com
Status: 5.0.0
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [192.3.7.194 12] Our system has detected that this message is
550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail,
550-5.7.1 this message has been blocked. Please visit
550 5.7.1 https://support.google.com/mail/answer/188131 for more information. f20si332031igo.32 - gsmtp
you don’t care much if Gmail reject this test e-mail, the e-mails are send, check this article to reduce the spam detection and check the suggested Gmail actions