Posted by SC on 11/24/05 03:17
Here's an example of proper headers:
$mail_headers = 'From: "Sender Name" <sender@domain.com>' . "\n"
.. 'MIME-Version: 1.0' . "\n"
.. 'Message-ID: <' . md5(uniqid(time())) . '@domain.com>' . "\n"
.. 'Content-Type: text/html; charset="iso-8859-1"' . "\n"
.. 'Content-Transfer-Encoding: 8bit' . "\n"
.. 'Importance: Normal' . "\n";
"Stefan Mueller" <seekware-remove-@yahoo.com> wrote in message
news:dm3386$1ejo$1@news.imp.ch...
>
>>> If I use
>>> $headers .= "From: user@inter.net\n";
>>> instead of
>>> $headers .= "From: \"User\" <user@inter.net>\n";
>>> is works perfect.
>>>
>>> What's wrong?
>>> Stefan
>>
>
> I tried the following versions before
> $headers .= "From: \"User\" <user@inter.net>";
> or
> $headers .= "From: 'User' <user@inter.net>";
> or
> $headers .= "From: User <user@inter.net>";
> or
> $headers .= 'From: "User" <user@inter.net>';
>
> However, no version works.
>
> Does someone see what's wrong?
> Stefan
>
>
Navigation:
[Reply to this message]
|