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 Rik on 06/17/07 13:15

On Sat, 16 Jun 2007 18:44:40 +0200, artev <mailnotspammm@notspamm.nn>
wrote:

> function_x is a function;
>
> if I write this:
> print function_x('parameter_x') ;
> at screen I have: infox@sito.com (one email)

Are you looking at the HTML source, or the screen? I recall a few months
ago someone who actuually had something like '<b>mail@examle.com</b>'
instead of just the address....

> 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?

It should work, examine your string carefully.



--
Rik Wasmus

 

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

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