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