-
-
21 Jul 2009 21:33:39 UTC
- Distribution: RWDE
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (1)
- Testers (58 / 0 / 0)
- Kwalitee
Bus factor: 0- License: unknown
- Activity
24 month- Tools
- Download (53.38KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE user- Dependencies
- Apache::Session
- Cache::Memcached
- Crypt::CBC
- Crypt::Rijndael
- DBD::Pg
- Data::Dumper
- Data::Validate::Domain
- Digest::HMAC_SHA1
- Digest::MD5
- Error
- Gearman::Client
- Gearman::Worker
- HTTP::Date
- MIME::Base64
- Mail::RFC822::Address
- NEXT
- Net::SMTP
- Net::Server
- SCGI
- Storable
- Sys::Syslog
- Template
- YAML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
RWDE::Mailing
Mailing interface for objects that can receive emails.
Throttling is also provided to keeping daily count of emails sent under control.
To be clear this is meant to be used as a base class and derived classes are required to implement certain methods so the facility works correctly.
get_email()
Retrieve the class defined email address. This is specifically assigned within the RWDE Object hash for the purpose of dispatching emails.
send_message()
This method is required to be implemented by your derived class. If you don't implement it an DevelException will be thrown upon invocation.
The implementation for this method should include a call to _send_message in order for the interface to work end to end.
_send_message()
Verify that that record has no exceeded specified daily limits for messages.
If the number of messages has not been exceeded then the message is sent out via RWDE::PostMaster
check_limit()
Check to make sure that the mailing limit (default 5) has not been exceeded for today.
Module Install Instructions
To install RWDE, copy and paste the appropriate command in to your terminal.
cpanm RWDE
perl -MCPAN -e shell install RWDE
For more information on module installation, please visit the detailed CPAN module installation guide.