View Full Version : Specify Server
12-09-2003, 03:50 PM
With my host, we want to block the default smtp server and force our users to specify their local mail server for smtp auth.
1. use dummy mail server in php ini file.
2. How to specify smtp mail server in script.
3. How to specify user login for smtp server.
12-09-2003, 06:07 PM
all you can really do is disable the mail function in the php.ini ( disable_functions directive ), if you specify a dummy sendmail application thats going to slow the server down when people ultimately try to use it anyway ;)
you can find a fair few SMTP scripts at hotscripts.com , classes at phpclasses.org and a couple of half decent ones at zend.
you could also recompile PHP without mail support or better still rewrite the mail function to accept sendmail path & authentication arguments.
12-10-2003, 12:48 AM
Thanks for the heads up!
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.