You are here: Re: Why can't I create the string "User" <user@inter.net> « All PHP « IT news, forums, messages
Re: Why can't I create the string "User" <user@inter.net>

Posted by Stefan Mueller on 11/24/05 14:51

> $headers .="From: User <user@inter.net>\r\n";
>
> For each line in the header you need \r\n, so that the MTA will know where
> something ends.

I can't believe it. It's still not working.

My header has the following three lines:
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: User <user@inter.net>\r\n";

Does someone have any further guess what could be wrong?
Stefan

PS: It's still working if I use
$headers .= "From: user@inter.net\r\n";

But
$headers .= "From: <user@inter.net>\r\n";
also doesn't work!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация