On my Win98 / Xitami / PHP 4.2.3, I only specify following in php.ini:

[mail function]
SMTP=<host name or IP address of mail server>
sendmail_from=<email address for from>

and it works pretty well.

regards,


-----Original Message-----
From: Geoff Ogilvy [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 01:40
To: [EMAIL PROTECTED]
Subject: Sending mail on Windows 98


Summary : do I have an MTA ?

Detail : Some scripts are being developed in php for uploading to a web
host
and I would like to test them on my standalone Windows 98 machine at
home. I
have Apache 2.0.44, PHP 4.3.0 and a dial-up connection to an ISP, which
we
will call ispname, for e-mail.

The PHP manual states " The Windows implementation of mail() differs in
many
ways from the Unix implementation. First, it doesn't use a local binary
for
composing messages but only operates on direct sockets which means a MTA
is
needed listening on a network socket (which can either on the localhost
or a
remote machine)."

My php.ini file includes SMTP = smtp.ispname.com and smtp_port = 25
although
I have also tried various other possibilities. In all cases, when mail()
is
called, the browser hangs up. I was rather hoping the Dial-Up Connection
pop-up box would be displayed. I'm not sure whether this is a software
problem, e.g. with the software versions I'm runnning on Windows 98,
perhaps
the need to use an older Apache 1.3, or whether the ISP software simply
does
not provide an MTA. (I also have AOL if that is of any relevance.) I see
that there is a file sendmail.dll in C:\Windows\System.

If I need an MTA, are any available as open source ?

As you can see, there is a gap in my knowledge.
Thanks for your help.
Geoff





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

Reply via email to