-
-
16 Apr 2014 18:33:32 UTC
- Distribution: Embperl
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (9)
- Testers (66 / 28 / 0)
- Kwalitee
- License: unknown
- Activity
24 month- Tools
- Download (768.94KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Gerald Richter <richter at embperl dot org>
- Dependencies
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Embperl::Syntax::Mail - tag library for sending mail
SYNOPSIS
[$ syntax + Mail $] <mail:send to="richter@ecos.de" subject="Testmail"> Hi, this is a test for a new mail tag it is send at [+ scalar(localtime) +] from Embperl's Mail taglib. </mail:send> [$ if $? $] <h2>Sorry, there was an error, your mail couldn't be send</h2> [$else$] <h2>Your mail was successfully delivered</h2> [$endif$]
DESCRIPTION
The is module provides a mail:send tag, for sending text via email. It uses the Embperl::Mail module for actualy sending the mail. The following attributes are recognized. The mail body is enclosed between the mail:send tags. See Embperl::Mail for an description of the attribues:
On success it sets
$?
to zero, otherwise to a value other then zero.Author
Gerald Richter <richter at embperl dot org>
See Also
Embperl::Syntax, Embperl::Syntax::HTML
Module Install Instructions
To install Embperl, copy and paste the appropriate command in to your terminal.
cpanm Embperl
perl -MCPAN -e shell install Embperl
For more information on module installation, please visit the detailed CPAN module installation guide.