You are here: Re: Problem: No headers sent with mail() « PHP Programming Language « IT news, forums, messages
Re: Problem: No headers sent with mail()

Posted by John Dunlop on 09/09/05 13:46

Juul wrote:

> You may use xxx@xxx.com (xxx) as the From header, that shouldn't be a problem.

Because it gives the impression of working? Sorry, ain't gonna wash
in a technical forum.

I think Ken was right to be suspicious, because afaics

From: foo@bar.invalid (foo)

is not allowed to be generated under RFC2822.

It is one of the two forms allowed by son-of-RFC1036 though, so you
might find it on Usenet, and that might be where your idea that it
'shouldn't be a problem' comes from.

> The real problem I found was the use of \r\n. I tried to use \n only and it
> works fine!

What you tried there, what the Manual calls 'a last resort', suggests
the real problem lies with your MTA.

--
Jock

 

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

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