<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><span idspanfor="frame" mlb_idspanflag="true" style="border: 1px solid black; padding: 0px 3px; z-index: 500; font-size: xx-small; font-family: sans-serif; position: absolute; top: 0pt; left: 0pt;">73</span><span idspanfor="frame" mlb_idspanflag="true" style="border: 1px solid black; padding: 0px 3px; z-index: 500; font-size: xx-small; font-family: sans-serif; position: absolute; top: 0pt; left: 0pt;">73</span><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Chris Withers &lt;chris@simplistix.co.uk&gt;<br><div><br>&gt;&gt; &lt;p <br>&gt;&gt; &nbsp; tal:on-error="string: mailScript() isn't defined! This should be in your *s* dir &gt;&gt; with the default
 installation."<br>&gt;&gt; &nbsp; tal:replace="structure python:here.mailScript()" /&gt;<br><br>&gt; This is extremely bad programming style.<br>&gt; <br>&gt; Look at customising standard_error_message if you want to make error<br>&gt; messages prettier...<br><br>Yeah, the above is for me :) I have customized the standard error msg for the visitor.<br><br>&gt; You may also want to look at MailingLogger<br>&gt; (<a target="_blank" href="http://www.simplistix.co.uk/software/zope/mailinglogger">http://www.simplistix.co.uk/so</a><a target="_blank" href="http://www.simplistix.co.uk/software/zope/mailinglogger">ftware/zope/mailinglogger<span idspanfor="link" mlb_idspanflag="true" style="border: 1px solid grey; padding: 0px 3px; float: none; margin-left: 3px; z-index: 500; font-size: xx-small; font-family: sans-serif; display: inline;">103</span></a>) so that you<br>&gt; get emailed salient log entries...<br><br>Nice! I like that! But I'm confused on one thing. In your
 instructions, you say:<br><br>import Products.MailingLogger<br><br>I assume that's at the instance level, where the zope.conf file is? That's a command, correct? Not something entered into the zope.conf file. I issued that command at the prompt and got this:<br><br># import Products.MailingLogger<br>import: unable to open X server `'.<br><br>Is there something I should edit first? Like zope.conf? Your instructions seem to indicate first issue the command, then edit zope.conf. And I'm confused as to if I should be editing zope.conf or something else, because my zope.conf file doesn't look like, for example, an httpd.conf file, where one would have syntax similar to what you propose. Here's my zope.conf:<br><br># Zope zctl settings<br>ZOPE_HOME = pjoin(HERE, '../..', 'ZopeSoftwareHome')<br>ZOPE_OPTS = '-p - -D'<br>ZOPE_PORT = 7080<br>ZOPE_LOG = pjoin(HERE, 'var', 'debug.log')<br>ZOPE_ENV['PRODUCTS_PATH'] = ("%(SOFTWARE_PRODUCTS)s:" + pjoin(HERE, '..', 'OtherProducts') +
 ":%(INSTANCE_PRODUCTS)s")<br><br>ZOPE_ENV['STUPID_LOG_FILE'] = ZOPE_LOG<br># ZEO Environment settings<br><span>#ZEO['ZEO_SERVER_NAME'] = '<a target="_blank" href="http://www.example.com">www.example.com</a>'</span><br>ZEO['ZEO_SERVER_PORT'] = 9999<br># ZEO zctl settings<br>ZEO_WAIT_BAILOUT = 160 # Don't try for more than num seconds<br><br>Also, can you tell me how to enter a variable into the eventlog "to" email address so that I could change it in a file on the server whenever I wanted to? I've been wondering how to do that.<br><br>TIA,<br>Nancy<br></div></div></div></div><br></body></html>