PHP Classes

Auto-Responder: Mail Autoresponder Class

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 6,058 All time: 374 This week: 74Up
Version License Categories
autoresponse 1.0.0GNU General Publi...Email


This class implements an email auto-response system.

It accesses mailboxes via POP3 or IMAP protocols and sends out automatic responses emails to the messages found in the inbox folder.

Currently it implements three types of auto-response:

* Send a response message using a given file

* Send response message using contents read from a given Web URL (in this case the email subject has the URL request)

* Send a custom response message generated by the current script

The response messages may be in plain text or HTML.

After the auto-response is sent, the mails are marked read or can be deleted.

This class is meant to be used from tasks run periodically for instance as cron jobs.

Innovation Award
PHP Programming Innovation award winner
December 2004

Prize: One downloadable copy of PHPEd
Sending and receiving e-mail messages is one of the most popular Internet applications.

Sometimes there is the need to provide immediate responses to incoming e-mail messages, especially when the recipient is away or may not reply to the messages right after they are received.

This class provides a generic solution for automating the processing of messages received in a mailbox accessible via either POP 3 or IMAP protocols.

The most common use of this class is to provide automatic replies to the incoming messages, but the class may be used also for other types of automated message processing.

Manuel Lemos
Picture of Vedanta Barooah
Name: Vedanta Barooah <contact>
Classes: 11 packages by
Country: United States United States
Age: 44
All time rank: 497 in United States United States
Week rank: 73 Down7 in United States United States Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  Files folder image Files  
File Role Description
Files folder imagecronjob (2 files)
Files folder imageexample (3 files)
Plain text file autoresponse.class.php Class Main Class File
Accessible without login Plain text file grabUrl.php Aux. Required Dependency
Accessible without login HTML file manual.html Doc. Manual

  Files folder image Files  /  cronjob  
File Role Description
  Accessible without login Plain text file crontab.txt Example Crontab Sample
  Accessible without login Plain text file reply_mails.php Appl. Example Script for Console

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file example1.php Example Example
  Accessible without login Plain text file example2.php Example Example
  Accessible without login Plain text file example3.php Example Example 7KB
Downloadautoresponse-2004-12-07.tar.gz 5KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Grab URL Download .zip .tar.gz Read data from the specified url Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:374
This week:74Up
 User Ratings  
 All time