Re: mail() and php.ini (Any Luck???)

From: Date: Tue, 11 Feb 2003 18:20:22 +0000
Subject: Re: mail() and php.ini (Any Luck???)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135222@lists.php.net to get a copy of this message
On Wednesday 12 February 2003 02:12, Scott Fletcher wrote: > The webserver is a Unix machine. I don't want to send the email from the > Unix machine, I want to do that from Window. So, if I configure hte > php.ini to find the MS-Exchange on Window and use it to send the email > while the webpage is on the Unix webserver, such as form fill out and click > the send button. > > Have anyone try this and does it work? Anyone struggle with it?? I'm > going to go ahead and do it. It wouldn't work. On Unix, mail() uses the sendmail binary and ignores any SMTP setting. You can get yourself a mail class from www.phpclasses.org which can use SMTP regardless of whether you're on Unix or Windows. Anyway, what is the reason for using an external mailserver? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Mausoleum: The final and funniest folly of the rich. -- Ambrose Bierce */

« previous php.general (#135222) next »