<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Malgun Gothic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Thanks Bill,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">That was the cause of the problem.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Does the holds notification system use the same style of template or the one I was trying to use before like this one in trunk
<a href="http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/examples/hold_notification_template.example">
http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/examples/hold_notification_template.example</a> ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D">Robert<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> open-ils-dev-bounces@list.georgialibraries.org [mailto:open-ils-dev-bounces@list.georgialibraries.org]
<b>On Behalf Of </b>Bill Erickson<br>
<b>Sent:</b> July 29, 2009 1:06 PM<br>
<b>To:</b> Evergreen Development Discussion List<br>
<b>Subject:</b> Re: [OPEN-ILS-DEV] ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">OK, I think that's the problem. generate_circ_notices.pl expects Perl Template::Toolkit email templates. For example, Open-ILS/examples/templates/overdue_7day.example. It looks like you are trying to use
the old home-grown template syntax, instead, which won't work.<br>
<br>
-b<o:p></o:p></p>
<div>
<p class="MsoNormal">On Wed, Jul 29, 2009 at 11:48 AM, Soulliere, Robert <<a href="mailto:robert.soulliere@mohawkcollege.ca">robert.soulliere@mohawkcollege.ca</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style="font-size:11.0pt;color:#1F497D">I am using Evergreen 1.4.0.4 and am using the script generate_circ_notices.pl located in the support-scripts directory of the Evergreen installation folders which is located in the opensrf home directory.
</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> I should also note that I downloaded and installed Evergreen and this support-script quite early in the release of 1.4.0.4 (January or February of this year.) Could I have missed any critical updates to this
or supporting scripts or modules?</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D">Thanks,</span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D">Robert </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color">
<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:
10.0pt">
<a href="mailto:open-ils-dev-bounces@list.georgialibraries.org" target="_blank">open-ils-dev-bounces@list.georgialibraries.org</a> [mailto:<a href="mailto:open-ils-dev-bounces@list.georgialibraries.org" target="_blank">open-ils-dev-bounces@list.georgialibraries.org</a>]
<b>On Behalf Of </b>Bill Erickson<br>
<b>Sent:</b> July 29, 2009 11:21 AM<br>
<b>To:</b> Evergreen Development Discussion List<br>
<b>Subject:</b> [OPEN-ILS-DEV] ***SPAM*** Re: ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error</span><o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
<p style="margin-bottom:12.0pt">Robert,<br>
<br>
What version of Evergreen is this and what script are you using to generate the overdue notices?<br>
<br>
-b<o:p></o:p></p>
<div>
<p>On Wed, Jul 29, 2009 at 11:08 AM, Soulliere, Robert <<a href="mailto:robert.soulliere@mohawkcollege.ca" target="_blank">robert.soulliere@mohawkcollege.ca</a>> wrote:<o:p></o:p></p>
<p>Hi,<br>
<br>
The spaces were added when I sent the email. The template file itself does not contain the extra spaces.<br>
<br>
Just to be sure, I tested the templates and replaced the variable ${EMAIL_RECIPIENT} with an actual email value "<a href="mailto:robert.soulliere@mohawkcollege.ca" target="_blank">robert.soulliere@mohawkcollege.ca</a>" and removed the variable ${EMAIL_HEADERS}.
This sent an email to myself for each overdue notice. However, wherever I use any of the variables in the template, the variable names appear in the email instead of the appropriate values as if treating them as literal text.<br>
<br>
Thanks,<br>
Robert<br>
<br>
<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:open-ils-dev-bounces@list.georgialibraries.org" target="_blank">
open-ils-dev-bounces@list.georgialibraries.org</a> [mailto:<a href="mailto:open-ils-dev-bounces@list.georgialibraries.org" target="_blank">open-ils-dev-bounces@list.georgialibraries.org</a>] On Behalf Of Nathan Eady<br>
Sent: July 27, 2009 5:32 PM<br>
To: Evergreen Development Discussion List<br>
Subject: [OPEN-ILS-DEV] ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error<br>
<br>
"Soulliere, Robert" <<a href="mailto:robert.soulliere@mohawkcollege.ca" target="_blank">robert.soulliere@mohawkcollege.ca</a>> writes:<br>
<br>
> I checked the templates. They seem to be formed OK; the content of<br>
> the overdue template is:<br>
<br>
In the version of the template you sent to the list, I'm seeing blank<br>
lines between the headers, like this:<br>
<br>
> To: ${EMAIL_RECIPIENT}<br>
><br>
> From: ${EMAIL_SENDER}<br>
[snip]<br>
<br>
If they're actually going out that way, that's a pretty significant<br>
deviation from RFC 822 and can be expected to cause undesirable<br>
results in most, if not all, mail-handling software.<br>
<br>
--<br>
Nathan Eady<br>
Galion Public Library<br>
<br>
<br>
This E-mail contains privileged and confidential information intended<br>
only for the individual or entity named in the message. If the reader<br>
of this message is not the intended recipient, or the agent responsible<br>
to deliver it to the intended recipient, you are hereby notified that<br>
any review, dissemination, distribution or copying of this communication<br>
is prohibited. If this communication was received in error, please<br>
notify the sender by reply E-mail immediately, and delete and destroy<br>
the original message.<o:p></o:p></p>
</div>
<p><br>
<br clear="all">
<br>
-- <br>
Bill Erickson<br>
| VP, Software Development & Integration<br>
| Equinox Software, Inc. / The Evergreen Experts<br>
| phone: 877-OPEN-ILS (673-6457)<br>
| email: <a href="mailto:erickson@esilibrary.com" target="_blank">erickson@esilibrary.com</a><br>
| web: <a href="http://esilibrary.com" target="_blank">http://esilibrary.com</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray">This E-mail contains privileged and confidential information intended<br>
only for the individual or entity named in the message. If the reader<br>
of this message is not the intended recipient, or the agent responsible<br>
to deliver it to the intended recipient, you are hereby notified that<br>
any review, dissemination, distribution or copying of this communication<br>
is prohibited. If this communication was received in error, please<br>
notify the sender by reply E-mail immediately, and delete and destroy<br>
the original message.</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Bill Erickson<br>
| VP, Software Development & Integration<br>
| Equinox Software, Inc. / The Evergreen Experts<br>
| phone: 877-OPEN-ILS (673-6457)<br>
| email: <a href="mailto:erickson@esilibrary.com">erickson@esilibrary.com</a><br>
| web: <a href="http://esilibrary.com">http://esilibrary.com</a><o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This E-mail contains privileged and confidential information intended<br>
only for the individual or entity named in the message. If the reader<br>
of this message is not the intended recipient, or the agent responsible<br>
to deliver it to the intended recipient, you are hereby notified that<br>
any review, dissemination, distribution or copying of this communication<br>
is prohibited. If this communication was received in error, please<br>
notify the sender by reply E-mail immediately, and delete and destroy<br>
the original message.<br>
</font>
</body>
</html>