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: <firstname.lastname@example.org> 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 email@example.com) 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 firstname.lastname@example.org) email@example.com 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 <firstname.lastname@example.org> Message-ID: <email@example.com> 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?
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.