Re: Sending email with the windows version of php

From: Date: Mon, 21 Jul 2003 08:24:25 +0000
Subject: Re: Sending email with the windows version of php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156025@lists.php.net to get a copy of this message
> > hello, > > > > My client is wanting to transfer their web site from a system that uses: freebsd, apache, mysql and php, to a windows based hosting service. > > > Did you tell them this is a bad idea. :) > > So I was wondering if the Windows version of PHP sends e-mail with the same commands as Sendmail or do I have to re-write the scripts. Or can you tell me what form of email sending windows would use. > > > if you use the php mail command, you shouldn't have any problems. In > the unix version the mail command uses sendmail where the windows > version connects to a smtp server and sends the message its self. You would need to set 'SMTP' and 'sendmail_from' in your php.ini. The 'sendmail_path' doesn't work for Windows, so you can leave that blank. Nothing else changes then... -- [Win2000 | Apache/1.3.23] [PHP/4.2.3 | MySQL/3.23.53] Ivo Fokkema PHP & MySQL programmer Leiden University Medical Centre Netherlands

« previous php.general (#156025) next »