On Sun, 2007-06-17 at 12:56 +0100, Stut wrote:
> tedd wrote:
> >
> > $headers ='From: "Larry, Curly and Moe"<[EMAIL PROTECTED]>')>\n";
> > $headers .= 'Reply-to: "Moe"<[EMAIL PROTECTED]>' >\n";
>
> Strictly speaking, those line endings should be \r\n.
While I agree with you that it "should" be \
tedd wrote:
>> The last paragraph of the page
>>
>> Go figure!
>>
>> The appropriate code is;
>>
>> mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
>> <[EMAIL PROTECTED]>');
>
> Brad:
>
> Don't forget to add the content.
>
> mail($to, $subject, $headers, $body);
Headers a
The last paragraph of the page
Go figure!
The appropriate code is;
mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
<[EMAIL PROTECTED]>');
Brad:
Don't forget to add the content.
mail($to, $subject, $headers, $body);
And you can also add "Reply-to: "
Such as:
$header
BSumrall wrote:
> The last paragraph of the page
>
> Go figure!
>
> The appropriate code is;
>
> mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
> <[EMAIL PROTECTED]>');
The final parameter is important and should also be included. It sets
the envelope sender which is the
The last paragraph of the page
Go figure!
The appropriate code is;
mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
<[EMAIL PROTECTED]>');
-Original Message-
From: BSumrall [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 17, 2007 12:39 AM
To: php-general@lists.php.n
5 matches
Mail list logo