Jump to content

Email not getting through spam filters


foobaa

Recommended Posts

Hi,

 

Sorry if this post is in the wrong area.

 

For the nth time I'm stuck in front of a server which won't send email. (It seems to be something different everytime) - I'm sure some of you will have the same experience!!

 

I don't know what I'm doing, and have just followed any tutorials that I could. My progress:

 

SPF - fine, as far as I'm aware, I've never had to change this before - default setting with my 3rd party are always ok.

rDNS - same as above

Spam lists - clear

 

And I can't see anything wrong with the headers below.

 

Any help would be much appreciated!

 

 

Delivered-To: jody.florian@gmail.com

Received: by 10.115.77.8 with SMTP id e8cs902135wal;

        Sun, 22 Jul 2007 05:36:17 -0700 (PDT)

Received: by 10.86.79.19 with SMTP id c19mr1718448fgb.1185107776816;

        Sun, 22 Jul 2007 05:36:16 -0700 (PDT)

Return-Path: <www-data@logicsmiths.co.uk>

Received: from leg (82-68-11-181.dsl.in-addr.zen.co.uk [82.68.11.181])

        by mx.google.com with ESMTP id k9si16610822nfh.2007.07.22.05.36.12;

        Sun, 22 Jul 2007 05:36:16 -0700 (PDT)

Received-SPF: neutral (google.com: 82.68.11.181 is neither permitted nor denied by best guess record for domain of www-data@logicsmiths.co.uk)

Received: from [82.68.11.181] by leg

  (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.8.2)); Sun, 22 Jul 2007 13:35:38 +0100

Received: from  [82.68.11.178] by leg with SMTP (EHLO localhost)

  (ArGoSoft Mail Server Pro for WinNT/2000/XP, Version 1.8 (1.8.8.2)); Sun, 22 Jul 2007 13:35:37 +0100

Received: by localhost (Postfix, from userid 33)

id 001B850941; Sun, 22 Jul 2007 13:36:07 +0100 (BST)

To: jody@blueperfection.co.uk

Subject: Here is the subject

Date: Sun, 22 Jul 2007 13:36:07 +0100

From: Mailer <jody@blueperfection.co.uk>

Message-ID: <b1cc059adec282edd800bc905d9ee8e8@www.logicsmiths.co.uk>

X-Priority: 3

X-Mailer: PHPMailer [version 1.73]

MIME-Version: 1.0

Content-Type: text/plain; charset="iso-8859-1"

Content-Transfer-Encoding: quoted-printable

Return-Path: <www-data@logicsmiths.co.uk>

 

This is the message body

Please work please work please work

http://logicsmiths.co.uk

 

Link to comment
Share on other sites

I've tried with

 

mail('jody.florian@gmail.com','Test','Test','From: jody@logicsmiths.co.uk')

 

and with phpmailer:

<?php

require("class.phpmailer.php");

 

$mail = new PHPMailer();

 

$mail->From = "jody@logicsmiths.co.uk";

$mail->FromName = "Mailer";

$mail->AddAddress("jody@blueperfection.co.uk");                  // name is optional

 

$mail->Subject = "Here is the subject";

$mail->Body    = "This is the message body

Please work please work please work

http://logicsmiths.co.uk

";

 

if(!$mail->Send())

{

  echo "Message could not be sent. <p>";

  echo "Mailer Error: " . $mail->ErrorInfo;

  exit;

}

 

echo "Message has been sent";

?>

 

Link to comment
Share on other sites

i use this one

try it m8.

<?php
$to = 'bob@barnyard.com';
$subject = 'Wakeup bob!';
$message = '<b>yo</b>, whassup?';
$headers = "From: server@barnyard.com\r\n" .
        'X-Mailer: PHP/' . phpversion() . "\r\n" .
        "MIME-Version: 1.0\r\n" .
        "Content-Type: text/html; charset=utf-8\r\n" .
        "Content-Transfer-Encoding: 8bit\r\n\r\n";

// Send
mail($to, $subject, $message, $headers); 
?>

Link to comment
Share on other sites

Thanks - no luck sadly.

 

My server's using postfix by the way. (changed your \r\n's to  \n) but still goes to the spam.

 

Code tried this time:

 

<?php

$to = 'jody.florian@gmail.com';

$subject = 'Wakeup bob!';

$message = '<b>yo</b>, whassup?';

$headers = "From: jody@logicsmiths.co.uk\n" .

        'X-Mailer: PHP/' . phpversion() . "\n" .

        "MIME-Version: 1.0\n" .

        "Content-Type: text/html; charset=utf-8\n" .

        "Content-Transfer-Encoding: 8bit\n\n";

 

// Send

mail($to, $subject, $message, $headers);

?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.