Re: What is needed to test php mail on a local testserver
| From: | andy thomas | Date: | Thu, 14 Mar 2002 12:04:04 +0000 |
| Subject: | Re: What is needed to test php mail on a local testserver | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88477@lists.php.net to get a copy of this message | ||
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_username>@localhost
and assuming your sendmail/exim configuration is reasonably standard, it
should work.
Andy