SMTP

From: Date: Thu, 15 Feb 2001 16:38:10 +0000
Subject: SMTP
Groups: php.general 
Request: Send a blank email to php-general+get-39933@lists.php.net to get a copy of this message
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

« previous php.general (#39933) next »