|
Posted by artev on 06/17/07 10:42
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?
I tested so:
mail(print function_x('parameter_x'),'a', 'b', 'c');
but have parse error;
so is important to extract the value from function
(I cannot change the function, but with print I have the value;
so isn't possible to write this value inner mail?)
[Back to original message]
|