issue with my dns
hello
email from my website are allways going into gmail spam and maybe others aswell
i don t know what to do, it shows clearly that it is sent <
Received: from serveur.myserver.com (ns506425.ip-167-114-0.net. [167.114.0.xxx])
by mx.google.com with ESMTPS id w8si2575175qcl.45.2014.10.01.12.59.43
for
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Wed, 01 Oct 2014 12:59:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of jeudipm@serveur.myserver.com designates 167.114.0.xxx as permitted sender) client-ip=167.114.0.xxx;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of jeudipm@serveur.myserver.com designates 167.114.0.xxx as permitted sender) smtp.mail=jeudipm@serveur.myserver.com
Received: from jeudipm by serveur.myserver.com with local (Exim 4.82)
(envelope-from )
id 1XZQ3s-0005Th-Rg
for seizart@gmail.com; Wed, 01 Oct 2014 15:59:44 -0400
To: seizart@gmail.com
Subject: Overnight Parking Permission
X-PHP-Script: email.org/wp-admin/admin-ajax.php for 24.201.15.110
Date: Wed, 1 Oct 2014 15:59:44 -0400
From: City of email | Overnight Parking Registration
Message-ID:
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (
-
one thing i need to add is emails are not hosted on my server but in another server, it probably add to the complexity 0 -
i already put a dkim and spf entry, gmail say it passed ! So i don t see the problem now... How can i send the email as name@mydomain.org and not user@myserverdomain.org, i think that might be the problem, because the user who sent the email (with wordpress) is in fact different from the email adress) 0 -
]How can i send the email as name@mydomain.org and not user@myserverdomain.org, i think that might be the problem, because the user who sent the email (with wordpress) is in fact different from the email adress)
The default behavior when sending email through PHP is to use the cPanel username and hostname of the server to construct the envelope-sender address. If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers. The other option is to make sure that the application is using the 5th argument to the PHP mail() function to send the '-f' switch to sendmail so that it sets the correct "Return-Path". Keep in mind that your results may vary depending on which mail server is accepting the email. Thank you.0
Please sign in to leave a comment.
Comments
4 comments