Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Wordpress PostFix password reset email goes to spam folder
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:188.8.131.52 ~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 ([184.108.40.206]) 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: 220.127.116.11 is neither permitted nor denied by best guess record for domain of firstname.lastname@example.org) client-ip=18.104.22.168; Authentication-Results: mx.google.com; spf=neutral (google.com: 22.214.171.124 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?
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.×