note 3575 deleted from ref.mail by jimw
| From: | jimw@php.net | Date: | Thu, 01 Nov 2001 19:57:05 +0000 |
| Subject: | note 3575 deleted from ref.mail by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19994@lists.php.net to get a copy of this message | ||
Sending mails using IIS 4.0 or Apache/ PHP 3.0 or 4.0/ MySQL set up on Windows NT 4.0:
1. Install Microsoft Exchange Server on your server. Create an Internet Connection in the Exchange
server
giving the name or IP address, on which your ISP is running an SMTP server. Say we give a name to
the exchange server MYEXCH. You can contact your ISP and ask him to give you the gateway or the IP
address on which your ISP is running the SMTP server.
2. Modify your php.ini file section of the [mail] to include SMTP = MYEXCH. Put a valid e-mail id.
Then the mail() function should be able to send mails to the internet.
This works pretty well on my server.
If you dont have Exchange Server software you can use Smart Server and Internet Anywhere Mail
Server to connect to the gateway of your ISPs SMTP server to send mails.