Nancy Donnelly wrote:
mailhost=getattr(context, context.superValues('Mail Host')[0].id)
what should I substitute for Mail Host
MailDrop Host likely, check the source for the correct meta type.
Not really, it's a snippet for inserting into zope.conf alongside the
other logging
- Original Message From: Chris Withers [EMAIL PROTECTED]To: Nancy Donnelly [EMAIL PROTECTED] From what Tres has said, you should build yourself a new Zope instance with mkzopeinstance.py and then install any products you need int othe new instance, then finalyl move the Data.fs into it.
Nancy Donnelly wrote:
7373
You really need to sort your mail client out...
You may also want to look at MailingLogger
(http://www.simplistix.co.uk/software/zope/mailinglogger103) so that you
get emailed salient log entries...
Nice! I like that! But I'm confused on one thing. In your
- Original Message From: Chris Withers [EMAIL PROTECTED]First up, rifling through my trash, I noticed a response of yours to a previous email that I missed. Concerning the line of my script:try: mailhost=getattr(context, context.superValues('Mail Host')[0].id)what should I substitute for
Nancy Donnelly wrote:
7171
What's with this appearing at the start of all your mails?
Silly me! I got so caught up in that error that I didn't think to check the
error log! It said it couldn't find a Mail Host. Now, on the first instance, I
just added the regular plain vanilla mail host,
Nancy Donnelly wrote:
I have two Zope instances. On one of them, I have a boilerplate script that I
use for all my clients' Web sites. Works fine. Has for years. I decided to copy
it over to my other instance and I get an error. Here's the line in question:
p
tal:on-error=string:
7373- Original Message From: Chris Withers [EMAIL PROTECTED] p tal:on-error="string: mailScript() isn't defined! This should be in your *s* dir with the default
installation." tal:replace="structure python:here.mailScript()" / This is extremely bad programming style. Look at
7474Hi;I have two Zope instances. On one of them, I have a boilerplate script that I use for all my clients' Web sites. Works fine. Has for years. I decided to copy it over to my other instance and I get an error. Here's the line in question:p tal:on-error="string: mailScript() isn't defined!
p
tal:on-error=string: mailScript() isn't defined! This should be in your *s* dir with the default installation.
tal:replace=structure python:here.mailScript() /
Use just:
p tal:replace=structure python:here.mailScript() /
and tell us what error do you see now.
tal:on-error catches
7171- Original Message From: Maciej Wisniowski [EMAIL PROTECTED] Use just: p
tal:replace="structure python:here.mailScript()" / and tell us what error do you see now.Silly me! I got so caught up in that error that I didn't think to check the error log! It said it couldn't find a Mail
10 matches
Mail list logo