[OPEN-ILS-DEV] ***SPAM*** RE: ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error

Soulliere, Robert robert.soulliere at mohawkcollege.ca
Wed Jul 29 13:43:48 EDT 2009


Thanks Bill,

That was the cause of the problem.

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 http://svn.open-ils.org/trac/ILS/browser/trunk/Open-ILS/examples/hold_notification_template.example ?



Thanks,
Robert

From: open-ils-dev-bounces at list.georgialibraries.org [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of Bill Erickson
Sent: July 29, 2009 1:06 PM
To: Evergreen Development Discussion List
Subject: Re: [OPEN-ILS-DEV] ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: ***SPAM*** Re: ***SPAM*** RE: [OPEN-ILS-GENERAL] Overdue notices not sending error

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 <robert.soulliere at mohawkcollege.ca<mailto:robert.soulliere at mohawkcollege.ca>> 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: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org>] 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 <robert.soulliere at mohawkcollege.ca<mailto:robert.soulliere at mohawkcollege.ca>> 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 "robert.soulliere at mohawkcollege.ca<mailto:robert.soulliere at mohawkcollege.ca>" 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: open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org> [mailto:open-ils-dev-bounces at list.georgialibraries.org<mailto:open-ils-dev-bounces at list.georgialibraries.org>] 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" <robert.soulliere at mohawkcollege.ca<mailto:robert.soulliere at mohawkcollege.ca>> 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: erickson at esilibrary.com<mailto:erickson at esilibrary.com>
| 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: erickson at esilibrary.com<mailto:erickson at esilibrary.com>
| 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20090729/b77b366c/attachment-0001.htm 


More information about the Open-ils-dev mailing list