2 years ago (2015-10-01 23:26:38)

PHP Mailer Function sending mails to spam box, help !!

1 1
584
my php function looks like that:

$headers = 'From: noreply@nitrobit.net' . "rn" .
'MIME-Version: 1.0' . "rn" .
'Content-type: text/html; charset=utf-8' . "rn" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
Here is the Headers:

Delivered-To: superdown.me@gmail.com
Received: by 10.114.185.6 with SMTP id ey6csp45195ldc;
Sun, 15 Sep 2013 04:01:53 -0700 (PDT)
X-Received: by 10.180.126.3 with SMTP id mu3mr9155535wib.27.1379242912725;
Sun, 15 Sep 2013 04:01:52 -0700 (PDT)
Return-Path:
Received: from ns3365488.ovh.net ([2001:41d0:a:2c2e::1])
by mx.google.com with ESMTPS id n7si9138570wja.151.1969.12.31.16.00.00
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Sun, 15 Sep 2013 04:01:52 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning nitrobit@nitrobit.net does not designate 2001:41d0:a:2c2e::1 as permitted sender) client-ip=2001:41d0:a:2c2e::1;
Authentication-Results: mx.google.com;
spf=softfail (google.com: domain of transitioning nitrobit@nitrobit.net does not designate 2001:41d0:a:2c2e::1 as permitted sender) smtp.mail=nitrobit@nitrobit.net
Received: from apache by ns3365488.ovh.net with local (Exim 4.76)
(envelope-from )
id 1VLA5V-0002Ck-Po
for superdown.me@gmail.com; Sun, 15 Sep 2013 13:01:57 +0200
To: superdown.me@gmail.com
Subject: NitroBit - סיסמה עבור קנייתך
X-PHP-Originating-Script: 0:ipn.php
From: NitroBit noreply@nitrobit.net
Reply-To: superdown.me@gmail.com
X-Mailer: PHP/5.3.27MIME-Version: 1.0
Content-type: text/html; charset=utf-8
Message-Id:
Date: Sun, 15 Sep 2013 13:01:57 +0200

What's wrong in that?
Sign up or Sign in for free.
And start a new thread.
mgks
Use email authentication methods, such as SPF, and DKIM to prove that your emails and your domain name belong together, and to prevent spoofing of your domain name. The SPF website includes a wizard to generate the DNS information for your site.

Check your reverse DNS to make sure the IP address of your mail server points to the domain name that you use for sending mail.

Make sure that the IP-address that you're using is not on a blacklist

Make sure that the reply-to a
4 years ago   1 Report Permalink[S]
More notes by Ajay Bhatia