Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/Mail.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Embperl-2.3.0/Embperl/Syntax/Mail.pm



NAME

Embperl Taglib 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 the Embperl::Mail manpage 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.


Author

Gerald Richter <richter@dev.ecos.de>


See Also

Embperl::Syntax, Embperl::Syntax::HTML

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy