All pastes #431539 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-04-09 19:02 UTC
rendered paste body
<?php  $eol="\n";  $mime_boundary=md5(time());   # Common Headers  $headers .= 'From: E-Flirt <'.$fromaddress.'>'.$eol;  $headers .= 'Date: '.date('D, d M Y h:i:s O').$eol;  $headers .= 'Organization: E-Flirt.com'.$eol;  $headers .= 'To: '.$emailaddress.$eol;  $headers .= 'Reply-To: '.$fromaddress.$eol;  $headers .= 'Return-Path: <'.$fromaddress.'>'.$eol;    // these two to set reply address  $headers .= "Message-ID: <TheSystem@".$_SERVER['SERVER_NAME'].">".$eol;  $headers .= "X-Mailer: PHP/".phpversion().$eol;          // These two to help avoid spam-filters  $headers .= 'X-Sender: e-flirt@e-flirt.com'.$eol;  $headers .= 'X-Originating-IP: [64.233.167.99]'.$eol;  $headers .= 'Mime-Version: 1.0'.$eol;  $headers .= 'Content-Type: text/html; charset="ISO-8859-1"'.$eol;  $headers .= "Content-Transfer-Encoding: 8bit ".$eol.$eol;?>