I think you need a \r\n between the headers,
Philip J. Newman wrote:
My code is this ...
// MAIL HEADERS.
$headers = "X-Priority: 1\n";
$headers .= "Return-path: <[EMAIL PROTECTED]>\n";
$headers .= "From: \"Philip Newman\" <[EMAIL PROTECTED]>\n";
: "Michael Geier" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: "PHP" <[EMAIL PROTECTED]>
Sent: Monday, June 16, 2003 2:56 PM
Subject: Re: [PHP] / [Newman] When i send an email it ...
> The error is your answer. The server
The error is your answer. The server is setup to relay mail for specific
domains/users. Evidently, the user "[EMAIL PROTECTED]" is not one of those
users/domains.
If you are the administrator for this box, check your documentation for your
specific SMTP server for setting relay for that domai
My code is this ...
\n";
$headers .= "From: \"Philip Newman\" <[EMAIL PROTECTED]>\n";
$headers .= "Reply-To: \"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>\n";
$msg = "Dear $mUserName,\n\n";
$msg .= "You have requested a user account on Untouched.
When i send an email i get the following error.
Warning: mail() [function.mail]: SMTP server response: 550 , Sender unknown in
D:\Hosting\Crushme\includes\inc_register.php on line 138
Is this a server or a PHP error?
/ Philip
5 matches
Mail list logo