|
Posted by natalie vacca on 04/03/06 11:54
Thanks J.O.,
I will test it in the real enviroment, but would like to test it with other
code on my test server.
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?
Thanks anyone who can help.
NV
"J.O. Aho" <user@example.net> wrote in message
news:49bl00FnujuhU3@individual.net...
> natalie vacca wrote:
>> Hi all,
>>
>> I am designing a PHP5, MySQL website. I am developing on my local
>> machine, Windows XP and Apache 2. How do I test sending emails PHP mail()
>> function.
>
> You need to install a mailserver and modify your php.ini to support the
> installed mailserver.
>
>
>> Do I need to set up Apache to run CGI. If so, how. Please.
>
> Depending on what kind of php you write, it can be a good idea to really
> test it in a real environment.
>
>
> //Aho
[Back to original message]
|