On 08/25/2003 09:34 PM, Mathiau wrote:
basically i am sending out a mailing list to customers, - using a PHP script, however the SMTP i am using needs to have Authorization to log into the outgoing SMTP - i HAVE to use this authentication no if's and ot butt's., otherwise i will be blocked by Yahooo / AOL and some other provider for running a relay SMTP as they see it and contirbuting to spammers by allow anon acces to my smtp.
I know i can put my SMTP server on an internal ip so the outside world can not see if but that is a bandaid fix for me - i want to know if PHP can use an SMTP server that requires authotization to use it?
HELP! me searches for this have turned up no results or people simply not knowing what i need to get done.
The mail() function does not support authentication. You may want to try this SMTP class that lets you send messages via a server that requires authentication.
http://www.phpclasses.org/smtpclass
Use it in conjunction with this other class that lets you compose and send properly formatted messages:
http://www.phpclasses.org/mimemessage
--
Regards, Manuel Lemos
Free ready to use OOP components written in PHP http://www.phpclasses.org/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php