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.
-b On Wed, Jul 29, 2009 at 11:48 AM, Soulliere, Robert < [email protected]> wrote: > 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. > > > > 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? > > > > Thanks, > > Robert > > > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Bill > Erickson > *Sent:* July 29, 2009 11:21 AM > *To:* Evergreen Development Discussion List > *Subject:* [OPEN-ILS-DEV] ***SPAM*** Re: ***SPAM*** RE: ***SPAM*** Re: > ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error > > > > Robert, > > What version of Evergreen is this and what script are you using to generate > the overdue notices? > > -b > > On Wed, Jul 29, 2009 at 11:08 AM, Soulliere, Robert < > [email protected]> wrote: > > Hi, > > The spaces were added when I sent the email. The template file itself does > not contain the extra spaces. > > Just to be sure, I tested the templates and replaced the variable > ${EMAIL_RECIPIENT} with an actual email value " > [email protected]" 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. > > Thanks, > Robert > > > > > > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Nathan Eady > Sent: July 27, 2009 5:32 PM > To: Evergreen Development Discussion List > Subject: [OPEN-ILS-DEV] ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] > Overdue notices not sending error > > "Soulliere, Robert" <[email protected]> writes: > > > I checked the templates. They seem to be formed OK; the content of > > the overdue template is: > > In the version of the template you sent to the list, I'm seeing blank > lines between the headers, like this: > > > To: ${EMAIL_RECIPIENT} > > > > From: ${EMAIL_SENDER} > [snip] > > If they're actually going out that way, that's a pretty significant > deviation from RFC 822 and can be expected to cause undesirable > results in most, if not all, mail-handling software. > > -- > Nathan Eady > Galion Public Library > > > This E-mail contains privileged and confidential information intended > only for the individual or entity named in the message. If the reader > of this message is not the intended recipient, or the agent responsible > to deliver it to the intended recipient, you are hereby notified that > any review, dissemination, distribution or copying of this communication > is prohibited. If this communication was received in error, please > notify the sender by reply E-mail immediately, and delete and destroy > the original message. > > > > > -- > Bill Erickson > | VP, Software Development & Integration > | Equinox Software, Inc. / The Evergreen Experts > | phone: 877-OPEN-ILS (673-6457) > | email: [email protected] > | web: http://esilibrary.com > > ------------------------------ > This E-mail contains privileged and confidential information intended > only for the individual or entity named in the message. If the reader > of this message is not the intended recipient, or the agent responsible > to deliver it to the intended recipient, you are hereby notified that > any review, dissemination, distribution or copying of this communication > is prohibited. If this communication was received in error, please > notify the sender by reply E-mail immediately, and delete and destroy > the original message. > -- Bill Erickson | VP, Software Development & Integration | Equinox Software, Inc. / The Evergreen Experts | phone: 877-OPEN-ILS (673-6457) | email: [email protected] | web: http://esilibrary.com
