chromatic > Mail-Action > Mail::Action

Download:
Mail-Action-0.46.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.46   Source  

NAME ^

Mail::Action - base for building modules that act on incoming mail

SYNOPSIS ^

    use base 'Mail::Action';

DESCRIPTION ^

E-mail doesn't have to be boring. If you have server-side filters, a bit of disk space, some cleverness, and access to an outgoing SMTP server, you can do some very clever things. Want a temporary mailing list? Try Mail::SimpleList. Want a temporary, mostly-anonymous mailing address? Try Mail::TempAddress. Want to build your own similar program? Read on.

Mail::Action, Mail::Action::Address, Mail::Action::Request, and Mail::Action::Storage make it easy to create a other modules that receive, filter, and respond to incoming e-mails.

METHODS ^

SUBCLASSING ^

In addition to the methods described earlier, you may want to override any of the other methods:

fetch_address()

Attempts to retrieve the address for the associated alias, if it exists. In scalar context, returns just the address. In list context, returns the address and the alias. If the address does not exist, returns nothing.

message()

Returns the Email::MIME object associated with this request.

request()

Returns the request object for this object.

storage()

Returns the storage object for this object.

SEE ALSO ^

Mail::SimpleList and Mail::TempAddress for example uses.

See Mail::Action::Address, Mail::Action::Request, Mail::Action::Storage, and Mail::Action::PodToHelp for related modules.

AUTHOR ^

chromatic, <chromatic at wgz dot org<.

BUGS ^

No known bugs.

COPYRIGHT ^

Copyright (c) 2003 - 2009 chromatic. Some rights reserved. You may use, modify, and distribute this module under the same terms as Perl 5.10 itself.

syntax highlighting: