<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" 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">Hi 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">All the org units seem to have valid addresses . I am using
<a href="mailto:rsoulliere@evergreen-server.mohawkcollege.ca">rsoulliere@evergreen-server.mohawkcollege.ca</a> for testing. This is what is entered in the “sending email address for patron notices” field for all locations in the staff client. <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>
<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>
<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 23, 2009 10:17 AM<br>
<b>To:</b> Evergreen Discussion Group<br>
<b>Cc:</b> Evergreen Development Discussion List<br>
<b>Subject:</b> Re: [OPEN-ILS-DEV] [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"><br>
Hi Robert,<br>
<br>
I would verify any addresses configured in the staff client Library Settings interface (actor.org_unit_setting table) look like valid email addresses.<br>
<br>
-b<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">On Thu, Jul 23, 2009 at 9:52 AM, Soulliere, Robert <<a href="mailto:robert.soulliere@mohawkcollege.ca">robert.soulliere@mohawkcollege.ca</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p>Hi Guys,<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>We are still having trouble in getting automatic email notifications to function.
<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>When I run the generate_circ_notices.plI get the following Warning in osrfsys.log:<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> [2009-07-23 06:01:13] generate_circ_notices.pl [INFO:14462:CStoreEditor.pm:104:] editor[0|0] action.circulation.search : returned 1 result(s)<o:p></o:p></p>
<p>[2009-07-23 06:01:13] generate_circ_notices.pl [WARN:14462:generate_circ_notices.pl:378:] notice: unable to send overdue email to
<a href="mailto:robert.soulliere@mohawkcollege.ca" target="_blank">robert.soulliere@mohawkcollege.ca</a>: $VAR1 = bless( {<o:p></o:p></p>
<p> 'prop' => {},<o:p></o:p></p>
<p> 'string' => 'Can\'t call method "address" on an undefined value at /usr/share/perl5/Email/Send/SMTP.pm line 24.<o:p></o:p></p>
<p>',<o:p></o:p></p>
<p> 'type' => 'failure',<o:p></o:p></p>
<p> 'errno' => 1<o:p></o:p></p>
<p> }, 'Return::Value' );<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>It seems to not like the sender address or information, but I am not sure if it is the setting in the opensrf.xml file or the settings in the staff client. I am not getting a bounce email notification sent to the addresses specified as the sender email.
We have correct email addresses in the sender address set up in both the opensrf.sml file and in the staff client location configuration. <o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Here is the notification section of opensrf.xml:<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <notifications><o:p></o:p></p>
<p> <!-- global mail server settings --><o:p></o:p></p>
<p> <smtp_server>localhost</smtp_server><o:p></o:p></p>
<p> <sender_address><a href="mailto:rsoulliere@evergreen-server.mohawkcollege.ca" target="_blank">rsoulliere@evergreen-server.mohawkcollege.ca</a></sender_address><o:p></o:p></p>
<p> <o:p></o:p></p>
<p><!-- Overdue notices --><o:p></o:p></p>
<p> <overdue><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <!-- optionally, you can define a sender address per notice type --><o:p></o:p></p>
<p> <sender_address><a href="mailto:rsoulliere@evergreen-server.mohawkcollege.ca" target="_blank">rsoulliere@evergreen-server.mohawkcollege.ca</a></sender_address><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <!-- The system can generate an XML file of overdue notices. This is the<o:p></o:p></p>
<p> directory where they are stored. Files are named overdue.YYYY-MM-DD.xml --><o:p></o:p></p>
<p> <notice_dir>/openils/var/data/overdue</notice_dir><o:p></o:p></p>
<p> <combined_template>/openils/var/data/overdue_notice.example</combined_template><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <notice><o:p></o:p></p>
<p> <!-- Notify at 7 days overdue --><o:p></o:p></p>
<p> <notify_interval>7 days</notify_interval><o:p></o:p></p>
<p> <!-- Options include always, noemail, and never. 'noemail' means a notice<o:p></o:p></p>
<p> will be appended to the notice file only if the patron has no valid email address. --><o:p></o:p></p>
<p> <file_append>noemail</file_append><o:p></o:p></p>
<p> <!-- do we attempt email notification? --><o:p></o:p></p>
<p> <email_notify>true</email_notify><o:p></o:p></p>
<p> <!-- notice template file --><o:p></o:p></p>
<p> <email_template>/openils/var/data/overdue_notice.example</email_template><o:p></o:p></p>
<p> </notice><o:p></o:p></p>
<p> </overdue><o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <!-- Courtesy notices --><o:p></o:p></p>
<p> <predue><o:p></o:p></p>
<p> <notice><o:p></o:p></p>
<p> <!-- All circulations that circulate between 5 and 13 days --><o:p></o:p></p>
<p> <circ_duration_range><o:p></o:p></p>
<p> <from>5 days</from><o:p></o:p></p>
<p> <to>13 days</to><o:p></o:p></p>
<p> </circ_duration_range><o:p></o:p></p>
<p> <!-- notify at 1 day before the due date --><o:p></o:p></p>
<p> <notify_interval>1 day</notify_interval><o:p></o:p></p>
<p> <file_append>false</file_append><o:p></o:p></p>
<p> <email_notify>true</email_notify><o:p></o:p></p>
<p> <email_template>/openils/var/data/predue_notice.example</email_template><o:p></o:p></p>
<p> </notice><o:p></o:p></p>
<p> </predue><o:p></o:p></p>
<p> </notifications><o:p></o:p></p>
<p> <o:p></o:p></p>
<p>I was wondering of the problem would most likely relate to:<o:p></o:p></p>
<p> <o:p></o:p></p>
<p style="text-indent:-18.0pt">1.<span style="font-size:7.0pt"> </span>The opensrf.xml file configuration<o:p></o:p></p>
<p style="text-indent:-18.0pt">2.<span style="font-size:7.0pt"> </span>Setup in the staff client.
<o:p></o:p></p>
<p style="text-indent:-18.0pt">3.<span style="font-size:7.0pt"> </span> An issue with a perl script: /usr/share/perl5/Email/Send/SMTP.pm or generate_circ_notices.pl<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>Thanks,<o:p></o:p></p>
<p>Robert<o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <o:p></o:p></p>
<p> <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>