Re: test the mail() function...
| From: | Andy Hoffman | Date: | Mon, 16 Oct 2000 14:36:13 +0000 |
| Subject: | Re: test the mail() function... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3267@lists.php.net to get a copy of this message | ||
Yoeri De Bruyn wrote:
> We have a mail server, but how can I tell php to direct the SMTP message to
> that one?
>
> All ideas and especially hints and useful tricks are very welcome!
Look at the mail settings in your php.ini... you should find settings for SMTP
server and default user name (user to connect to the SMTP server as) - if you're
connected out to a main DNS, then you could simply say "mail.mycompany.com" (or
wherever the mail records for your domain point), or if you're simply under an
internal IP network, specifiy the IP address of the mail server directly.
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com