NAME
MMS::Mail::Provider - This provides a default class for parsing an MMS::Mail::Message object into a MMS::Mail::Message::Parsed object.
VERSION
Version 0.02
SYNOPSIS
This class provides a parse method for parsing an MMS::Mail::Message object into an MMS::Mail::Message::Parsed object for 'generic' MMS messages (or ones that cannot be identified as coming from a specific provider).
METHODS
The following are the top-level methods of the MMS::Mail::Provider class.
Constructor
Regular Methods
- parse MMS::Mail::Message
-
The parse method is called as an instance method. It parses the MMS::Mail::Message and returns an MMS::Mail::Message::Parsed.
- retrieve_phone_number STRING
-
This method splits the provided string on @ and returns the first list element from the split, replacing any leading + character with 00. This seems to be the convention used by most UK providers and may work for other providers.
AUTHOR
Rob Lee, <robl@robl.co.uk>
BUGS
Please report any bugs or feature requests to bug-mms-mail-provider@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MMS-Mail-Provider. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
NOTES
To quote the perl artistic license ('perldoc perlartistic') :
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
ACKNOWLEDGEMENTS
As per usual this module is sprinkled with a little Deb magic.
COPYRIGHT & LICENSE
Copyright 2005 Rob Lee, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
MMS::Mail::Message, MMS::Mail::Message::Parsed, MMS::Mail::Provider, MMS::Mail::Provider