News Feed
Sections




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

PHPMaster.com:
Sending Emails with PHP
October 24, 2011 @ 20:08:52

In a new tutorial from PHPMaster.com Jason Pasnikowski takes a look at sending emails with PHP - an introduction to what the language offers and how it can be used to send an HTML version.

In most cases your installation of PHP will be capable of sending emails. If you are using a shared host, or if you installed PHP using a package management system like apt-get, more than likely you're all set. You'll really only need to worry about extra configuration if you're compiling PHP from source or if you're running it on Windows. In either case, there are plenty of resources available online to help you out. Because that's all beyond the scope of this article, I'll assume you're set. If not, Google will be your friend.

He starts with a simple example using the mail function but quickly moves on to sending a multi-part email with an attached zip file and HTML content. He includes the all code you'll need and explains each part in detail so you'll know exactly what's going on.

0 comments voice your opinion now!
send email tutorial html multipart zip file


blog comments powered by Disqus

Similar Posts

php[architect]: Sending HTML Emails with Drupal 7, Webform, and Mandrill

Kevin Schroeder's Blog: Connecting to the Zend Developer Cloud using NetBeans for PHP

NETTUTS.com: Can You Hack Your Own Site? A Look at Some Essential Security Considerations

DevShed: Loading XML Strings with simpleXML in PHP 5

Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel


Community Events





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


package introduction tool community release library voicesoftheelephpant series update interview install composer podcast security opinion version language symfony laravel framework

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