CAM-EmailTemplate

 view release on metacpan or  search on metacpan

index.html  view on Meta::CPAN

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<base href="http://www.clotho.com/code/CAM-EmailTemplate/index.html">
<title>CAM-EmailTemplate</title>
<link href="/css/demo.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="/js/demo.js" type="text/javascript"></script>
<style>
p.desc, td.links, a {
  line-height: 17pt;
}
thead tr td {
  align: left;
  font-weight: bold;
  font-style: italic;
}
a {
  font-weight: bold;
  text-decoration: none;
  aborder-bottom: 1px dotted white;
}
a:hover {
  font-weight: bold;
  text-decoration: underline;
  atext-decoration: none;
  aborder-bottom: 1px solid white;
}
</style>
</head>
<body>
<div class="title">
<img src="/images/clotho.gif" alt="Clotho Advanced Media, Inc." width="339" height="117" border="0">
</div>

<div class="body">

<p class="title">CAM-EmailTemplate</p>

<p class="subtitle">Last update: <a href="perl/CAM-EmailTemplate-0.92-docs">v0.92</a>, 2005-04-22</p>



<p>
This module extends the CAM:<!-- -->:Template search-and-replace API to with a
send() method to enable simplified delivery of automated but
customized emails.  This module is NOT intended for spam delivery (and
it's definitely not very efficient for that purpose).
</p>

<p>
See the documentation for templating examples.
</p>

<p>
This module most closely resembles Mail:<!-- -->:Send with the sendmail
option.  It has the following advantages:
</p>

<p>
  * Integration of templating
  * More readable code (IMHO)
</p>

<p>
and the following disadvantages:
</p>

<p>
  * Only supports sendmail delivery (but see also
    CAM:<!-- -->:EmailTemplate:<!-- -->:SMTP)
  * Doesn't offer an easy-to-understand API for building the header
  * Fewer mail delivery options
</p>

<p>
If you wish to take advantage of CAM:<!-- -->:Template's ability to use a
custom template syntax, then you should create a new subclass that
inherits from both your custom template and from this module.  A
simple example:
</p>

<p>
  package MyTemplate;



( run in 3.448 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )