Page 1 of 1

host for mail function

Posted: Wed Mar 09, 2011 8:47 am
by m2babaey
Hi
You know one of the parameters for sending mail using smtp method is "host"

Is there such a parameter when we use "mail" method

Re: host for mail function

Posted: Wed Mar 09, 2011 8:59 am
by social_experiment
The Manual wrote:bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )
These are the parameters for the mail() function.

Re: host for mail function

Posted: Wed Mar 09, 2011 9:43 am
by m2babaey
I couldn't understand whether your answer is yes or no

Re: host for mail function

Posted: Wed Mar 09, 2011 12:13 pm
by social_experiment
No. Unless the $additional_headers & $additonal_parameters can contains such a parameter, which i dont think it does.