email from PHP under Windows (was RE: [Xitami] Installing PHP in Xitami)

Marcio Marchini xitami@lists.xitami.org
Thu, 29 Aug 2002 15:43:49 -0400


| unix machines traditionally have a full mail server. Windows
| machines traditionally do not. If they do, it is used so differently
| than unix mail that it isn't going to work the way unix-oriented
| scripts and script handlers expect.


	It *is* possible to send email from PHP under Windows. All you need to
configure is the SMTP server in the PHP.ini file which sits in the Windows
folder.

notepad c:\winnt\php.ini
Edit->Find , SMTP


[mail function]
; For Win32 only.
SMTP = smtp.server.com



	You should also configure sendmail_from. It is the From field when PHP sends
email.


; For Win32 only.
sendmail_from = my@email.address.com




marcio