FW: [PHP] How to get the mail sending stuff to work on Win2k?

From: Date: Mon, 06 Jan 2003 00:37:13 +0000
Subject: FW: [PHP] How to get the mail sending stuff to work on Win2k?
Groups: php.general 
Request: Send a blank email to php-general+get-130349@lists.php.net to get a copy of this message
I run ArgoSoft's mail server which has worked great. I use SMTP authentication, could that be the problem? Is there a way to setup the info for SMTP authentication in PHP so it can pass it to the mail server during it's sendmail type functions? Rad... > -----Original Message----- > From: Andrew Brampton [mailto:andrew@bramp.freeserve.co.uk] > Sent: Sunday, January 05, 2003 6:22 PM > To: rad@inductionconcepts.com > Subject: Re: [PHP] How to get the mail sending stuff to work on Win2k? > > > Sorry I misread that you had a local mail server... > > Well I use ISP mail server for my PHP and it works fine, so there > is no need > to install any extras ie sendmail etc... > > I can only suggest that your mail server doesn't like forwarding mail for > PHP, maybe it takes the wrong way to it or something... If you > got any smtp > logs have a read to see if you see anything. If its IIS SMTP server I > beleive they are stored in c:\winnt\system32\Logfiles\....\blah.log. > > Also to reload the php settings you just have to restart IIS. > > Hope this helps > Andrew > ----- Original Message ----- > From: "Rad Craig" <rad@inductionconcepts.com> > To: "Andrew Brampton" <andrew@bramp.freeserve.co.uk> > Sent: Monday, January 06, 2003 12:20 AM > Subject: RE: [PHP] How to get the mail sending stuff to work on Win2k? > > > > I have an email server installed on that machine. Mail server works > great, > > has been for many months. > > > > I have tested it via PHP using this code: > > > > <?php mail("me@myemailaddy.com", "test message", "this is a > > test"); ?> > > > > But it doesn't work. I never get an email. > > > > I've tried: > > SMTP = localhost > > SMTP = 127.0.0.1 > > SMTP = mail.mydomain.com > > > > None work. > > > > Rad... > > > > > -----Original Message----- > > > From: Andrew Brampton [mailto:andrew@bramp.freeserve.co.uk] > > > Sent: Sunday, January 05, 2003 6:12 PM > > > To: rad@inductionconcepts.com; php-general@lists.php.net > > > Subject: Re: [PHP] How to get the mail sending stuff to work on Win2k? > > > > > > > > > change that line to your ISPs email server. > > > OR install a email server locally > > > > > > Andrew > > > ----- Original Message ----- > > > From: "Rad Craig" <rad@inductionconcepts.com> > > > To: "PHP Mailing List" <php-general@lists.php.net> > > > Sent: Sunday, January 05, 2003 11:20 PM > > > Subject: [PHP] How to get the mail sending stuff to work on Win2k? > > > > > > > > > > I have a fresh install of PHP on a Win2k server. It is installed > along > > > with > > > > MySQL to allow me to run and XMB message base on my website. > > > > > > > > Everything works great except for the fact that I never receive > > > any email > > > > notification when someone replies to a message I (or anyone else) > posts. > > > I > > > > think the problem is that I don't have the email part of PHP > configured > > > > correctly. > > > > > > > > I used the php.ini-recommended file to set it up. In the mail > > > section it > > > > says: > > > > > > > > SMTP=localhost > > > > > > > > There is a mail server on the local host. > > > > > > > > Do I have to install a sendmail app to get this working correctly? > > > > > > > > Nothing shows up in the event logs. > > > > > > > > One more question, when I make a change to that ini file, > do I have to > > > > reboot the machine or just restart IIS? > > > > ================================ > > > > Rad Craig > > > > ================================ > > > > Rad Craig > > > > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > >

« previous php.general (#130349) next »