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" <[EMAIL PROTECTED]>
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 = [EMAIL PROTECTED] ;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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to