XML::Template::Element::Email - XML::Template plugin module for the email namespace.
This XML::Template plugin module implements the email namespace tagset. The block namespace includes tags that handle sending email.
XML::Template::Element::Block inherits its constructor method, new, from XML::Template::Element.
new
This method implements the send tag which sends email. The text of the message is contained in the content. The following attributes are used:
The email address of who is sending the email.
The email address of who the email is being sent to.
The subject of the email.
If this is set to html, the email will be sent with the content type set to text/html. If set to plain, the email will be stripped of HTML and the content type will be set to text/plain.
html
text/html
plain
text/plain
The IP address of domain name of the mail server you wish to use.
Jonathan Waxman <jowaxman@bbl.med.upenn.edu>
Copyright (c) 2002-2003 Jonathan A. Waxman All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install XML::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Template
CPAN shell
perl -MCPAN -e shell install XML::Template
For more information on module installation, please visit the detailed CPAN module installation guide.