News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Richard Davey's Blog:
POP before SMTP Authentication for PHPMailer
November 18, 2005 @ 05:45:20

Richard Davey has this new post today on his blog with a look at integrating POP authentication into the PHPMailer package.

Although it provides sending via SMTP, it only supports direct SMTP Authentication. Which was great until an application I built moved host and needed "POP before SMTP" Authentication instead. So I wrote this class. I figured I'd post it here incase anyone else had a use for it.

This is built for PHP Mailer 1.72 and was not tested with any previous version. It was developed under PHP 4.3.11 (E_ALL). It works under PHP 5 and 5.1 with E_ALL, but not in Strict mode due to var deprecation (but then neither does PHP Mailer either!). It follows the RFC 1939 standard explicitly and is fully commented.

From there, he shows you how to use it, including the classes, creating a new POP3 object and setting the user/pass for it, as well as a little (quick) documentation on how to use it. You can grab the files for this update here.

0 comments voice your opinion now!
phpmailer pop smtp class phpmailer pop smtp class


blog comments powered by Disqus

Similar Posts

PHPit.net: Creating a PHP Settings Class

Simon Jodet: Partial mocks with Mockery

PHPBuilder.com: A Quick PHP XMLWriter Class Tutorial: XML & RSS

Jakob Westhoff's Blog: Class dependency graph generation

CodeSnipers.com: Embarking on PHP5 Objects


Community Events





Don't see your event here?
Let us know!


release install community podcast framework wordpress library developer series interview api configure threedevsandamaybe laravel bugfix introduction list code application language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework