News Feed
Sections




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

Web Development Blog:
PHP Mail Scripts using SMTP transport, a guide for beginners
April 12, 2010 @ 10:47:47

From the Web Development Blog today there's a new tutorial showing you how to use STMP from PHP via one of three different tools - the Zend_Mail component of the Zend Framework, SwiftMailer and PHPMailer.

PHP has a very simple mail function which is used very often for basic text mail messages. What if you need to attach files or if you need to send your e-mail messages via SMTP? Than it's time to use a more advanced script. This is because the standard mail function has only limited standard capabilities.

Snippets of code are included for each of the three showing how to send a simple email with the usual "To", "From" and body contents. All of the tools have the ability to include attachments, but that's not included here.

0 comments voice your opinion now!
smtp tutorial beginner swiftmailer zendmail phpmailer


blog comments powered by Disqus

Similar Posts

Sameer Borate's Blog: Google Translation PHP wrapper

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 11)

Kevin Schroeder's Blog: Integrating Zend_View with WordPress

Till Klampaeckel's Blog: So you'd like to migrate from MySQL to CouchDB? - Part I

Bob Majdak's Blog: Compile That PHP-GTK2, and More


Community Events

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


application composer language php7 introduction interview example api part2 series yii2 opinion laravel podcast framework symfony community testing project list

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