RE: [PHP-INSTALL] mail()
| From: | John Holden | Date: | Tue, 20 Jan 2004 04:02:01 +0000 |
| Subject: | RE: [PHP-INSTALL] mail() | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12525@lists.php.net to get a copy of this message | ||
The IP from which PHP sends email is entirely dependent on your Sendmail
settings-- the host option is for using a SMTP relay when in windows.
-----Original Message-----
From: Doug [mailto:boosy90@hotmail.com]
Sent: Monday, January 19, 2004 9:22 PM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] mail()
Hello
I was just wondering how I can get php to change what ip it sends mail on.
As the defaut when you use the mail() function it uses localhost 127.0.0.1.
Now I want it to use my sendmail mamil server's ip, I have my sendmail's
smtp options set to my ip address.... xx.xx.xx.xx . In the php.ini it has
host options but it says that those are only used for windows.
any heldp would be great
D.