PHP – Class SMTP or Mail email sending

This class can send messages via an SMTP server or mail function.

It can compose and send an e-mail message given the subject, body, sender and recipient addresses.

The class can parse the recipient strings that can be given with name and address. The e-mail 
addresses can also be validated.

The message can be delivered using the mail function or an SMTP server given the host address, 
port, SMTP user and password.

Code Example: Download Example (all files included)

Post to Twitter Post to Digg Post to Facebook Post to Google Buzz Send Gmail

2 Comments

  1. avatarHashim

    Good one!

  2. avatarOlqSA

Leave a Comment

Your email address will not be published. Required fields are marked *