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

CodeIgniter Blog: CodeIgniter Community Voice - Generating PDF files using CodeIgniter

Stefan Mischook's Blog: Classes and Objects in PHP

Master Zend Framework: Creating Custom ZFTool Diagnostic Classes

Elizabeth Smith's Blog: CC_Tooltips - easy php-gtk tooltip management

David Otton's Blog: PHP Tip: Classes Arenít Derived From stdClass


Community Events





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


series package tips podcast community laravel deployment framework language release symfony list voicesoftheelephpant install interview introduction api bugfix opinion library

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