You are here: Re: Why can't I send a mail with PHP « PHP Programming Language « IT news, forums, messages
Re: Why can't I send a mail with PHP

Posted by SC on 11/24/05 13:30

After a little checking I found that many people report that PHP for Windows
does not support the "from" header being anything other than just the e-mail
address.

You apparently can't send a "from" header like 'From: "Sender Name"
<sender@domain.com' under PHP for Windows. This only seems to work with
non-Windows installations of PHP.


"Stefan Mueller" <seekware-remove-@yahoo.com> wrote in message
news:dm3ott$1lln$1@news.imp.ch...

> It's really unbelievable. I've tried so many headers and
> 'From: "Sender Name" <sender@domain.com>'
> never works.
> That same with your header. PHP says:
> [24-Nov-2005 08:00:05] PHP Warning: mail() [<a
> href='function.mail'>function.mail</a>]: SMTP server response: 501 5.5.4
> Invalid Address in C:\PHP\file.php on line 132
>

 

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

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