Jump to content

Recommended Posts

Posted

hi i noticed in my mail queue of whm i get some bounced mails from big companies, i assume they reject our mails because of stricter spam check,

 

I use php to send email,

please look at sa sample header that got bounced (any suggestions?):

++++++++++++++++++++++++++++++++++++++++++++++++++

 

1Ex5Cn-0002vP-Tj-H

nobody 99 99

<xx@yyyycom>

1137082901 3

-ident nobody

-received_protocol local

-body_linecount 26

-auth_id nobody

-auth_sender nobody@yyyy.tchdns.com

-allow_unqualified_recipient

-allow_unqualified_sender

-local

-sender_set_untrusted

XX

1

recipient@his-email.com

 

156P Received: from nobody by yyy.tchdns.com with local (Exim 4.52)

id 1Ex5Cn-0002vP-Tj

for recipient@his-email.com; Thu, 12 Jan 2006 16:21:41 +0000

029T To: recipient@his-email.com

041 Subject: BREAKING News From yyy

051F From: yyy<breakingnews@yyy.com>

055R Reply-To: yyy<breakingnews@yyy.com>

058* Return-Path: yyy<breakingnews@yyy.com>

018 MIME-Version: 1.0

045 Content-type: text/plain; charset=iso-8859-1

055 X-Sender: yyy<breakingnews@yyy.com>

014 X-Priority: 3

026 X-MSMail-Priority: Normal

024 X-Mailer: My PHP Mailer

036 X-MimeOLE: Produced By yyy

056I Message-Id: <E1Ex5Cn-0002vP-Tj@yyy.tchdns.com>

038 Date: Thu, 12 Jan 2006 16:21:41 +0000

Posted

Hello,

 

I found this on the PHP manual, someone posted some nice headers:

 

><?
// if you have a problem same spam enginie or hotmail use these
// sample headers.( mail your friends, maili you.)
  $headers="";
  $headers .= "X-Sender:  $mail <$mail>\n"; //
  $headers .="From: $maili <$maili>\n";
  $headers .= "Reply-To: $maili <$maili>\n";
  $headers .= "Date: ".date("r")."\n";
  $headers .= "Message-ID: <".date("YmdHis")."selman@".$_SERVER['SERVER_NAME'].">\n";
  $headers .= "Subject: $subject\n"; // subject write here
  $headers .= "Return-Path: $maili <$maili>\n";
  $headers .= "Delivered-to: $maili <$maili>\n";
  $headers .= "MIME-Version: 1.0\n";
  $headers .= "Content-type: text/html;charset=ISO-8859-9\n";
  $headers .= "X-Priority: 1\n";
  $headers .= "Importance: High\n";
  $headers .= "X-MSMail-Priority: High\n";
  $headers .= "X-Mailer: My Mailer With PHP!\n";

?>

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...