Embperl::Syntax::Mail(3pm)

Embperl::Syntax::Mail3pm

Tag library for sending mail

Usage

  [$ syntax + Mail $]
  <mail:send to="[email protected]" 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$]

Overview

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:

from
to
cc
bcc
subject
reply-to
mailhost
mailhelo
maildebug
content-type

On success it sets $? to zero, otherwise to a value other then zero.

Releases

9 releases since Debian 3.1 (Sarge); the text changed 8 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12

Author

Gerald Richter <richter at embperl dot org>

From libembperl-perl 2.5.0-17 in Debian 12 (Bookworm). Parsed by carta from the page's man source.