[PHP] What is needed to test php mail on a local testserver
Hi there, I am wondering, how I could test the mail functions of php on a local machine. Do I have to install something like a mailserver, or does this come with php? Maybe someone knows some good articles on that. Thanx, Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is needed to test php mail on a local testserver
On Thu, 14 Mar 2002, andy wrote: Hi there, I am wondering, how I could test the mail functions of php on a local machine. Do I have to install something like a mailserver, or does this come with php? If you are using a Unix/Linux type server for your local system, sendmail (or an equivalent such as exim, smail, qmail, etc) will almost certainly be installed and running. Then you can send mail to your_usernamelocalhost and assuming your sendmail/exim configuration is reasonably standard, it should work. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is needed to test php mail on a local testserver
... and AFAIK, if you're running windows, read 'php.ini' and you can specify an SMTP server to use for mail sending. andy thomas wrote: On Thu, 14 Mar 2002, andy wrote: Hi there, I am wondering, how I could test the mail functions of php on a local machine. Do I have to install something like a mailserver, or does this come with php? If you are using a Unix/Linux type server for your local system, sendmail (or an equivalent such as exim, smail, qmail, etc) will almost certainly be installed and running. Then you can send mail to your_usernamelocalhost and assuming your sendmail/exim configuration is reasonably standard, it should work. Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php