View Single Post
Old May 27th, 2008, 9:26 PM   #7 (permalink)
TommyD
Registered User
Fresh Surpasser
 
Joined in Mar 2006
9 posts
Gave thanks: 0
Thanked 0 times
I have a reply to a ticket I submitted, I have no 'sender'?

Can someone clarify this? This is my latest test example:

Code:
$to = 'outsideemailaccount@anotherdomain.com';
$from = 'webmaster@example.com';
$subject = 'hello';

$headers = 'From: webmaster@example.com' . "\r\n".
'Reply-To: webmaster@example.com'. "\r\n".
'Return-Path: webmaster@example.com' . "\r\n".
'X-Mailer: PHP/' . phpversion();
$message = "test123";

$rs = mail($to, $subject, $message, $headers, "-f ".$from);
thank you,

tom
TommyD is offline   Reply With Quote