PHP
  Home arrow PHP arrow Sending MIME Email with PHP
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Sending MIME Email with PHP
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 6
    2008-07-09


    Table of Contents:
  • Sending MIME Email with PHP
  • Building a MIME mailer class
  • Completing the definition of the Mailer class
  • Sending MIME-compliant email messages

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Sending MIME Email with PHP
    ( Page 1 of 4 )

    One of the most common tasks that a PHP programmer has to tackle is the development of applications that send MIME email in one form or another. In simple terms, MIME email consists of an extension of traditional email technology and comes in handy for sending email messages in fancy HTML and handling file attachments in a wide variety of formats. This article is the first part of a five-part series.

    While using MIME email with PHP is a pretty fun process, the bad news is that it can be quite challenging to implement, particularly if you're not very familiar with its most complex facets. There's also the possibility that you often find yourself writing the same annoying code over and over again, especially when you have to construct MIME email modules within your applications.

    In either case, one thing is certain: creating MIME email-related scripts with PHP is one of those things that you'll only want to do once in your lifetime. Suppose you're sick of writing code used to send MIME email to your customers and wish to find a more practical solution to this task. Well, you could pick up one of the numerous third-party classes that are available on the web, or develop your own fine-tuned MIME email class that can be reused many times in the future.

    If you have any interest in the last option, then you'll find this article series pretty useful. In the different tutorials that comprise it, I'll teach you how to build a modular MIME mailer class with PHP 5. It will be equipped with a bunch of intuitive methods that are useful for handling the most common tasks associated with sending MIME email.

    In this first part of the series, I'll walk you through creating the bare bones structure of the mailer class, and I'll be progressively adding more to it in upcoming articles.

    Now, let's move forward and learn how to build a reusable MIME mailer class with PHP. Here we go!



     
     
    >>> More PHP Articles          >>> More By Alejandro Gervasio
     

       

    PHP ARTICLES

    - Using Directory Iterators to Build Loader Ap...
    - Using the spl_autoload() Functions to Build ...
    - Working Out of the Object Context to Build L...
    - Using the _autoload() Magic Function to Buil...
    - The Destruct Magic Function in PHP 5
    - The Autoload Magic Function in PHP 5
    - Developing a Recursive Loading Class for Loa...
    - The Sleep and Wakeup Magic Functions in PHP 5
    - Using the Clone Magic Function in PHP 5
    - Including Files Recursively with Loader Appl...
    - The Call Magic Function in PHP 5
    - Designing a Captcha System with PHP and MySQL
    - Using Static Methods to Build Loader Apps in...
    - The Isset and Unset Magic Functions in PHP 5
    - Advanced PHP Form Input Validation to Check ...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT