Re: SMTP
| From: | php3 at developersdesk dot com | Date: | Fri, 16 Feb 2001 21:46:44 +0000 |
| Subject: | Re: SMTP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40232@lists.php.net to get a copy of this message | ||
Addressed to: "Richard Lynch" <richard@zend.com>
php-general@lists.php.net
** Reply to note from "Richard Lynch" <richard@zend.com> Thu, 15 Feb 2001 19:25:14
-0600
>
> I think you *can* use the "for win32 only" stuff on Linux if you want to
> send your mail to a different server...
I don't think so... I just tried to add:
php_value SMTP 'mail.mydomain.com'
php_value sendmail_from 'me@mydomain.com'
php_value sendmail_path ' '
into my Apache configuration, and PHP is still sending mail thru the local
sendmail rather than qmail on my main server. I wish it would work as it would
take care of a problem I am having. It looks like I may have to dig out the
Sendmail book, and do some work on it to take control of bounce messages when
PHP's mail() function tries to send to an invalid address.
Also, if I use:
php_value sendmail_path ''
Apache will not run. I get an error that php_value must have two parameters. I
am not complaining, it is just something I noticed while testing.
FYI, I would like to see this work on UNIX, so I have submitted a feature
request to have it added:
http://bugs.php.net/?id=9308
Anybody else think this would be good to have?
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com