Emails sent from Wordpress end up in spam folder. I have read that I need to add an SPF record to my domain name, which I did.
My SPF looks like this:
v=spf1 mx a ip4:220.127.116.11 ~all
Email header looks like this:
Delivered-To: myEmailAddress@gmail.com Received: by 10.80.140.230 with SMTP id r35csp1314093edr; Fri, 21 Oct 2016 02:30:55 -0700 (PDT) X-Received: by 10.28.185.147 with SMTP id j141mr9507395wmf.108.1477042255242; Fri, 21 Oct 2016 02:30:55 -0700 (PDT) Return-Path: <email@example.com> Received: from malatherapy ([18.104.22.168]) by mx.google.com with ESMTPS id h62si2848317wmg.52.2016.10.21.02.30.55 for <myEmailAddress@gmail.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Oct 2016 02:30:55 -0700 (PDT) Received-SPF: neutral (google.com: 22.214.171.124 is neither permitted nor denied by best guess record for domain of firstname.lastname@example.org) client-ip=126.96.36.199; Authentication-Results: mx.google.com; spf=neutral (google.com: 188.8.131.52 is neither permitted nor denied by best guess record for domain of email@example.com) firstname.lastname@example.org Received: by malatherapy (Postfix, from userid 33) id EAD8D100098; Fri, 21 Oct 2016 09:30:54 +0000 (UTC) To: myEmailAddress@gmail.com Subject: [MalaTherapy] Password Reset X-PHP-Originating-Script: 33:class-phpmailer.php Date: Fri, 21 Oct 2016 09:30:54 +0000 From: Malatherapy <email@example.com> Message-ID: <firstname.lastname@example.org> X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
So any ideas?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!