PHP Classes

Auto-Responder: Mail Autoresponder Class

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 6,059 This week: 1All time: 374 This week: 41Up
Version License Categories
autoresponse 1.0.0GNU General Publi...Email
Description 

Author

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
Winner


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: 47 Up7 in United States United States Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  Files folder image Files (8)  
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 (8)  /  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 (8)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadautoresponse-2004-12-07.zip 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  
 0%
Total:6,059
This week:1
All time:374
This week:41Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:70%StarStarStarStar
Documentation:65%StarStarStarStar
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1176