A reply to a reply of my own message. I ended up editing Squishdot_mail_html.dtml. For some reason I had to hardcode the admin address into the file instead of using var admin_address. All works fine now. Go about your business. Thanks, Chris mcdon-@iqgroup.com wrote: original article:http://www.egroups.com/group/zope/?start=12112
Replying to my own message without any solution... not good.
More info:
I've tried this under Zope 2.X and 1.X (stable releases, respectively) and come up with the same problem.
I've futzed with the mailhost settings, changing them to every conceivable combination of local/SMTP with qualified domain names, IP addresses, anything I could think of. (I know the mailhost works, as I successfully created a sample DTML form that mailed out).
I modified the Squishdot_mail_html.dtml template file, hardcoding real email addresses in the place of var admin_address and var email, and the mail gets sent. I've checked the form names, they match the code. I've checked (as best I could) the order the method receives the arguments from the form input, that seems OK. I've tried to fake this thing out more ways than I care to admit, I've been working on this for about 10 hours. I am starting to get embarrassed that I can't fix it.
I know people have this working, as I've visited sites that allow email notification. I'm completely stumped. Any help would be greatly appreciated!
Thanks,
Chris
mcdon-@iqgroup.com wrote: original article:http://www.egroups.com/group/zope/?start=12111
I've asked this on the Squishdot list as well as at squishdot.org with little response.
Does anyone have Squishdot email notification working properly on Linux using Zope 2.0.0?
I can't seem to make this work, and the Squish code pretty much baffles me.
A message gets sent when an article with mail notification is replied to (how, I dont have a clue, it would be nice to have a comment in the source somewhere as to how this magic is accomplished...)
The message arrives at the mailhost specified in the Mail Host configuration.
But the message has a recipient of "None", and a blank sender. Therefore, the receiving sendmail trashes it. It's probably just a case of parameters not being passed between functions in the right order, or arguments being sent incorrectly to the routine that handles the sending of mail, but I'll be damned if I can even *see* where it sends mail in Squishdot.py.
Little help?
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )