The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::Template::Element::Email - XML::Template plugin module for the email namespace.

SYNOPSIS

This XML::Template plugin module implements the email namespace tagset. The block namespace includes tags that handle sending email.

CONSTRUCTOR

XML::Template::Element::Block inherits its constructor method, new, from XML::Template::Element.

EMAIL TAGSET METHODS

send

This method implements the send tag which sends email. The text of the message is contained in the content. The following attributes are used:

from_addr

The email address of who is sending the email.

to_addr

The email address of who the email is being sent to.

subject

The subject of the email.

type

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.

smtp

The IP address of domain name of the mail server you wish to use.

AUTHOR

Jonathan Waxman <jowaxman@bbl.med.upenn.edu>

COPYRIGHT

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.