<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><br><div class="gmail_quote">On Thu, Jul 23, 2009 at 9:52 AM, Soulliere, Robert <span dir="ltr">&lt;<a href="mailto:robert.soulliere@mohawkcollege.ca">robert.soulliere@mohawkcollege.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>Hi Guys,</p>
<p> </p>
<p>We are still having trouble in getting automatic email notifications to function.
</p>
<p> </p>
<p>When I run the generate_circ_notices.plI get the following Warning in osrfsys.log:</p>
<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)</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( {</p>

<p>                 &#39;prop&#39; =&gt; {},</p>
<p>                 &#39;string&#39; =&gt; &#39;Can\&#39;t call method &quot;address&quot; on an undefined value at /usr/share/perl5/Email/Send/SMTP.pm line 24.</p>
<p>&#39;,</p>
<p>                 &#39;type&#39; =&gt; &#39;failure&#39;,</p>
<p>                 &#39;errno&#39; =&gt; 1</p>
<p>               }, &#39;Return::Value&#39; );</p>
<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.  </p>
<p> </p>
<p>Here is the notification section of opensrf.xml:</p>
<p> </p>
<p> </p>
<p>      &lt;notifications&gt;</p>
<p>        &lt;!-- global mail server settings --&gt;</p>
<p>        &lt;smtp_server&gt;localhost&lt;/smtp_server&gt;</p>
<p>        &lt;sender_address&gt;<a href="mailto:rsoulliere@evergreen-server.mohawkcollege.ca" target="_blank">rsoulliere@evergreen-server.mohawkcollege.ca</a>&lt;/sender_address&gt;</p>
<p> </p>
<p>&lt;!-- Overdue notices --&gt;</p>
<p>        &lt;overdue&gt;</p>
<p> </p>
<p>            &lt;!-- optionally, you can define a sender address per notice type --&gt;</p>
<p>            &lt;sender_address&gt;<a href="mailto:rsoulliere@evergreen-server.mohawkcollege.ca" target="_blank">rsoulliere@evergreen-server.mohawkcollege.ca</a>&lt;/sender_address&gt;</p>
<p> </p>
<p>            &lt;!-- The system can generate an XML file of overdue notices.  This is the</p>
<p>                directory where they are stored.  Files are named overdue.YYYY-MM-DD.xml --&gt;</p>
<p>            &lt;notice_dir&gt;/openils/var/data/overdue&lt;/notice_dir&gt;</p>
<p>            &lt;combined_template&gt;/openils/var/data/overdue_notice.example&lt;/combined_template&gt;</p>
<p> </p>
<p>            &lt;notice&gt;</p>
<p>                &lt;!-- Notify at 7 days overdue --&gt;</p>
<p>                &lt;notify_interval&gt;7 days&lt;/notify_interval&gt;</p>
<p>                &lt;!-- Options include always, noemail, and never.  &#39;noemail&#39; means a notice</p>
<p>                     will be appended to the notice file only if the patron has no valid email address.  --&gt;</p>
<p>                &lt;file_append&gt;noemail&lt;/file_append&gt;</p>
<p>                &lt;!-- do we attempt email notification? --&gt;</p>
<p>                &lt;email_notify&gt;true&lt;/email_notify&gt;</p>
<p>                &lt;!-- notice template file --&gt;</p>
<p>                &lt;email_template&gt;/openils/var/data/overdue_notice.example&lt;/email_template&gt;</p>
<p>            &lt;/notice&gt;</p>
<p>        &lt;/overdue&gt;</p>
<p> </p>
<p>        &lt;!-- Courtesy notices --&gt;</p>
<p>        &lt;predue&gt;</p>
<p>            &lt;notice&gt;</p>
<p>                &lt;!-- All circulations that circulate between 5 and 13 days --&gt;</p>
<p>                &lt;circ_duration_range&gt;</p>
<p>                    &lt;from&gt;5 days&lt;/from&gt;</p>
<p>                    &lt;to&gt;13 days&lt;/to&gt;</p>
<p>                &lt;/circ_duration_range&gt;</p>
<p>                &lt;!-- notify at 1 day before the due date --&gt;</p>
<p>                &lt;notify_interval&gt;1 day&lt;/notify_interval&gt;</p>
<p>                &lt;file_append&gt;false&lt;/file_append&gt;</p>
<p>                &lt;email_notify&gt;true&lt;/email_notify&gt;</p>
<p>                &lt;email_template&gt;/openils/var/data/predue_notice.example&lt;/email_template&gt;</p>
<p>            &lt;/notice&gt;</p>
<p>        &lt;/predue&gt;</p>
<p>      &lt;/notifications&gt;</p>
<p> </p>
<p>I was wondering of the problem would most likely relate to:</p>
<p> </p>
<p style="text-indent: -18pt;"><span>1.<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      
</span></span>The opensrf.xml file configuration</p>
<p style="text-indent: -18pt;"><span>2.<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      
</span></span>Setup in the staff client. </p>
<p style="text-indent: -18pt;"><span>3.<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">      
</span></span> An issue with a perl script: /usr/share/perl5/Email/Send/SMTP.pm  or  generate_circ_notices.pl</p>
<p> </p>
<p>Thanks,</p>
<p>Robert</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>
<br>
<hr>
<font size="1" color="Gray" face="Arial">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>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Bill Erickson<br>| VP, Software Development &amp; 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><br>