|
Posted by J.O. Aho on 04/03/06 18:00
natalie vacca wrote:
> To me this is right:
>
> ...
> $txtHeaders = 'From: me@myplace.com' . "\r\n" .
> 'Reply-To: me@myplace.com' . "\r\n" .
> 'X-Mailer: PHP/' . phpversion();
>
>
> mail($txtTo, $txtSubject, $txtMessage, $txtHeaders);
>
> All other variables are defined to. Do I need to log in to the sending
> account somehow?
It's nothing with your php-code to do, you need to configure your php-engine
to use a mailer program/server, look in your php.ini, which most likely is
somewhere where you have got your php-engine installed.
//Aho
[Back to original message]
|