NAME

Meta::Info::MailMessage - an email message encapsulation.

COPYRIGHT

Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

MANIFEST: MailMessage.pm
PROJECT: meta
VERSION: 0.09

SYNOPSIS

package foo;
use Meta::Info::MailMessage qw();
my($message)=Meta::Info::MailMessage->new();
$message->set_subject("Microsoft paradigm shift into the hamburger business");
$message->set_recipients(["billg@microsoft.com"]);
$message->set_text("Dear Sir! I wish to complain about the bad quality of chips with your hamburger");
$message->set_from("mark2776@yahoo.com");
my($result)=$message->send();
if($result) {
	print "Message sent\n";
}

DESCRIPTION

This is an object which encapsulates an email message. It has the subject, text, recipients etc... What is this good for ? object oriented encapsulation. This object can, ofcourse, send itself using the Mail::Sendmail module.

FUNCTIONS

BEGIN()
init($)
send($)

FUNCTION DOCUMENTATION

BEGIN()

This method sets up accessor methods for the attributes of this class. The attributes are: "subject", "text", "from", "recipients", "error".

init($)

Internal method which does instance initialization.

send($)

This method will send the message. The method returns the result of the send.

BUGS

None.

AUTHOR

Name: Mark Veltzer
Email: mark2776@yahoo.com
WWW: http://www.geocities.com/mark2776
CPAN id: VELTZER

HISTORY

0.00 MV perl packaging again
0.01 MV more Perl packaging
0.02 MV PDMT
0.03 MV md5 project
0.04 MV database
0.05 MV perl module versions in files
0.06 MV movies and small fixes
0.07 MV more Class method generation
0.08 MV thumbnail user interface
0.09 MV more thumbnail issues

SEE ALSO

Nothing.

TODO

-add more capabilities here.