Posted By

luman on 06/29/06


Tagged

mail headers


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

tylerhall
katxorro70
Nix


mail headers


 / Published in: PHP
 

  1. $headers = "X-Sender: My bussiness <[email protected]>\n";
  2. $headers .= "X-Mailer: PHP4\n"; //mailer
  3. $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal
  4. $headers .= "Return-Path: <[email protected]>\n";
  5. $headers .= "Message-ID: <".$now."@mybussiness.com>\n";
  6. $headers .= "MIME-Version: 1.0\n";
  7. $headers .= "X-MSMail-Priority: High\n";
  8. $headers .= "From: My bussiness <[email protected]>\n";
  9. $headers .= "Reply-To: My bussiness <[email protected]>\n";
  10. $headers .= "Content-Type: text/html; charset=iso-8859-1\n";

Report this snippet  

You need to login to post a comment.