You are here: Re: mail if I insert a function not work more « PHP Language « IT news, forums, messages
Re: mail if I insert a function not work more

Posted by peter on 06/16/07 20:06

> function_x is a function;
>
> if I write this:
> print function_x('parameter_x') ;
> at screen I have: infox@sito.com (one email)
>
> but if I write so:
>
> mail(function_x('parameter_x'),'a', 'b', 'c');
> I have this error:
> SMTP server response: 554 DATA Transaction failed, no recipients given
>
> how I can insert the function's value inner mail?

Providing everything you have written is correct then it should work. 1 note
however ensure that where you have c that it contains a valid header, if you
do not want to send cuustom headers then omit this optional parameter.

 

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

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