Email::AutoReply::DB - interface defining Email::AutoReply database interaction


Email-AutoReply documentation  | view source Contained in the Email-AutoReply distribution.

Index


NAME

Top

Email::AutoReply::DB - interface defining Email::AutoReply database interaction

DESCRIPTION

Top

Email::AutoReply keeps track of who it's sent email to and when. Any subclass of this class can be used for this purpose. Subclassers must implement all methods.

METHODS

store

Store an Email::AutoReply::Recipient in the database.

Input: Takes one argument, a (populated) Email::AutoReply::Recipient object.

Output: none.

fetch

Fetch an Email::AutoReply::Recipient from the database, if one exists.

Input: Takes one string argument, an email address.

Output: A populated Email::AutoReply::Recipient or 0 if none could be found matching the given string.

fetch_all

Fetch all Email::AutoReply::Recipient objects from the database, if any exist.

Input: none.

Output: A list of Email::AutoReply::Recipient objects, or zero.

AUTHOR

Top

Adam Monsen, <haircut@gmail.com>

SEE ALSO

Top

Email::AutoReply, Email::AutoReply::Recipient

COPYRIGHT AND LICENSE

Top


Email-AutoReply documentation  | view source Contained in the Email-AutoReply distribution.