Re: SMTP

From: Date: Fri, 16 Feb 2001 01:25:14 +0000
Subject: Re: SMTP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40047@lists.php.net to get a copy of this message
I think you *can* use the "for win32 only" stuff on Linux if you want to send your mail to a different server... Also, Manuel Lemos' email class will let you spew at any server on port 25, I think... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Sebastien Le Floc'h" <slefloch@immostreet.com> Newsgroups: php.general Sent: Thursday, February 15, 2001 10:35 AM Subject: [PHP] SMTP > Hi, on PHP.ini, it's said > > [mail function] > SMTP = localhost ;for win32 only > sendmail_from = me@localhost.com ;for win32 only > ;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i') > > Well, my question is : does anyone knows abasic solution to use another smtp server than localhost (we use sudo, on debian, sendmail is on the sbin dir and we don't want to move it from here, that's the problem : mail() is used by nobody and not have rights tu use sendmail, if it's on sbin...) > > I know I may implement another php mail() fonction that connect to the SMTP server I want and says helo.... > But I was wondering it anyone had a better solution > > Thanks > Seb > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40047) next »