Re: [ZOPE Collector] Zope Question entry: Generating a feedback form
I'm forwarding this to the zope mailing list in hopes someone can lend a hand.... You may want to subscribe... see http://www.zope.org/Resources and look for the mailing list link... (the site's not doing so well right now, try in a maybe an hour or so :( ) Your globopolis site is pretty cool! herder@globopolis.com wrote:
A new bug entry was added with the following information:
Title: Generating a feedback form
At: http://classic.zope.org:8080/Collector/Collector/1040/sview
Submitter: Anne Cunningham
Email: herder@globopolis.com
Description: We are test driving zope by constructing our Globopolis intranet with it. One of the intranet's primary functions will be a bulletin board, and I have tried programming a mailto form three different ways using tutorials. It has yet to work. My most recent attempt involved creating a mail host and the feedback/sendfeedback documents. However, upon submission I get an SMTP error saying that the domain must be specified. I have checked with the tech guys here and maybe they're high on smack, but I believe the host and mail addresses are correct. I have just about given up on successfully implementing any forms using zope, please throw me an innertube..
-- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org
I don't know that this is the problem... but all the times I've heard of folks having problems with the sendmail tag, whitespace has been the problem: Here's one that works: (note spaces in the header area are significant!) <dtml-sendmail smtpHost="balrog.uindy.edu"> To: <dtml-var recipient> From: <dtml-var from> Subject: <dtml-var subject> Reply-To: <dtml-var replyto> <dtml-if note> A note was sent: <dtml-var note> </dtml-if> blah blah blah </dtml-sendmail> Good Luck! -steve
"Chris" == Chris McDonough <chrism@digicool.com> writes:
Chris> I'm forwarding this to the zope mailing list in hopes Chris> someone can lend a hand.... Chris> You may want to subscribe... see Chris> http://www.zope.org/Resources and look for the mailing list Chris> link... (the site's not doing so well right now, try in a Chris> maybe an hour or so :( ) Chris> Your globopolis site is pretty cool! Chris> herder@globopolis.com wrote: >> A new bug entry was added with the following information: >> >> Title: Generating a feedback form >> >> At: http://classic.zope.org:8080/Collector/Collector/1040/sview >> >> Submitter: Anne Cunningham >> >> Email: herder@globopolis.com >> >> Description: We are test driving zope by constructing our >> Globopolis intranet with it. One of the intranet's primary >> functions will be a bulletin board, and I have tried >> programming a mailto form three different ways using >> tutorials. It has yet to work. My most recent attempt involved >> creating a mail host and the feedback/sendfeedback >> documents. However, upon submission I get an SMTP error saying >> that the domain must be specified. I have checked with the tech >> guys here and maybe they're high on smack, but I believe the >> host and mail addresses are correct. I have just about given up >> on successfully implementing any forms using zope, please throw >> me an innertube.. Chris> -- Chris McDonough - Digital Creations, Inc. Publishers of Chris> Zope - http://www.zope.org Chris> _______________________________________________ Zope Chris> maillist - Zope@zope.org Chris> http://lists.zope.org/mailman/listinfo/zope ** No cross Chris> posts or HTML encoding! ** (Related lists - Chris> http://lists.zope.org/mailman/listinfo/zope-announce Chris> http://lists.zope.org/mailman/listinfo/zope-dev )
Ack... of course you need to you *your* smtphost in there. ;-) Oof! Sorry... -steve ---------------------------------------------------------------------- I don't know that this is the problem... but all the times I've heard of folks having problems with the sendmail tag, whitespace has been the problem: Here's one that works: (note spaces in the header area are significant!) <dtml-sendmail smtpHost="balrog.uindy.edu"> To: <dtml-var recipient> From: <dtml-var from> Subject: <dtml-var subject> Reply-To: <dtml-var replyto> <dtml-if note> A note was sent: <dtml-var note> </dtml-if> blah blah blah </dtml-sendmail> Good Luck! -steve
"Chris" == Chris McDonough <chrism@digicool.com> writes:
Chris> I'm forwarding this to the zope mailing list in hopes Chris> someone can lend a hand.... Chris> You may want to subscribe... see Chris> http://www.zope.org/Resources and look for the mailing list Chris> link... (the site's not doing so well right now, try in a Chris> maybe an hour or so :( ) Chris> Your globopolis site is pretty cool! Chris> herder@globopolis.com wrote: >> A new bug entry was added with the following information: >> >> Title: Generating a feedback form >> >> At: http://classic.zope.org:8080/Collector/Collector/1040/sview >> >> Submitter: Anne Cunningham >> >> Email: herder@globopolis.com >> >> Description: We are test driving zope by constructing our >> Globopolis intranet with it. One of the intranet's primary >> functions will be a bulletin board, and I have tried >> programming a mailto form three different ways using >> tutorials. It has yet to work. My most recent attempt involved >> creating a mail host and the feedback/sendfeedback >> documents. However, upon submission I get an SMTP error saying >> that the domain must be specified. I have checked with the tech >> guys here and maybe they're high on smack, but I believe the >> host and mail addresses are correct. I have just about given up >> on successfully implementing any forms using zope, please throw >> me an innertube.. Chris> -- Chris McDonough - Digital Creations, Inc. Publishers of Chris> Zope - http://www.zope.org Chris> _______________________________________________ Zope Chris> maillist - Zope@zope.org Chris> http://lists.zope.org/mailman/listinfo/zope ** No cross Chris> posts or HTML encoding! ** (Related lists - Chris> http://lists.zope.org/mailman/listinfo/zope-announce Chris> http://lists.zope.org/mailman/listinfo/zope-dev )
Description: We are test driving zope by constructing our Globopolis intranet with it. One of the intranet's primary functions will be a bulletin board, and I have tried programming a mailto form three different ways using tutorials. It has yet to work. My most recent attempt involved creating a mail host and the feedback/sendfeedback documents. However, upon submission I get an SMTP error saying that the domain must be specified. I have checked with the tech guys here and maybe they're high on smack, but I believe the host and mail addresses are correct. I have just about given up on successfully implementing any forms using zope, please throw me an innertube..
The following patch replaces the stock Mailhost code with a new version based off of smtplib (a module that comes with Python). I've heard nothing but positive reports from people using it. It is in the Collector and <hint, hint, Chris> should be in the next version of Zope. Apply the patch from inside your Zope directory using the "patch" command. I've got a Win32 version of "patch" I could mail you privately if you need it (its about 60k, not that big). -- Stephen Pitts smpitts@midsouth.rr.com
The following patch replaces the stock Mailhost code with a new version based off of smtplib (a module that comes with Python). I've heard nothing but positive reports from people using it. It is in the Collector and <hint, hint, Chris> should be in the next version of Zope.
We desperately need to do a Collector sweep, but we're pretty swamped right now... hopefully the issue will work itself out soon (we're hiring). -- Chris McDonough - Digital Creations, Inc. Publishers of Zope - http://www.zope.org
Whitespaces are NOT allowed after To: and From: This is NOT allowed: To: <dtml-var email> It should look like this: <dtml-sendmail mailhost="MailHost"> To:<dtml-var email> From:&dtml-email_from_name; <&dtml-email_from_address;> Subject: Portal Membership Information You have been registered as a member at the .... Portal Admin </dtml-sendmail>
I'm forwarding this to the zope mailing list in hopes someone can lend a hand....
You may want to subscribe... see http://www.zope.org/Resources and look for the mailing list link... (the site's not doing so well right now, try in a maybe an hour or so :( )
Your globopolis site is pretty cool!
herder@globopolis.com wrote:
A new bug entry was added with the following information:
Title: Generating a feedback form
At: http://classic.zope.org:8080/Collector/Collector/1040/sview
Submitter: Anne Cunningham
Email: herder@globopolis.com
Description: We are test driving zope by constructing our
Globopolis intranet with it. One of the intranet's primary functions will be a bulletin board, and I have tried programming a mailto form three different ways using tutorials. It has yet to work. My most recent attempt involved creating a mail host and the feedback/sendfeedback documents. However, upon submission I get an SMTP error saying that the domain must be specified. I have checked with the tech guys here and maybe they're high on smack, but I believe the host and mail addresses are correct. I have just about given up on successfully implementing any forms using zope, please throw me an innertube..
participants (4)
-
Chris McDonough -
Magnus Heino -
Stephen Pitts -
Steve Spicklemire