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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to