RE: [PHP] SMTP - Authorization?
| From: | Mathiau | Date: | Tue, 26 Aug 2003 16:48:02 +0000 |
| Subject: | RE: [PHP] SMTP - Authorization? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160804@lists.php.net to get a copy of this message | ||
Another life saver! This news group is great! Thnx.
-----Original Message-----
From: Manuel Lemos [mailto:mlemos@acm.org]
Sent: Tuesday, August 26, 2003 12:09 AM
To: Mathiau
Cc: php-general@lists.php.net
Subject: Re: [PHP] SMTP - Authorization?
Hello,
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/