First, yes you are correct in that Zope connects to the SMTP server to send the message from the Zope server, not from the browser client. I bet this problem is due to permissions on the mailhost object. By default only managers can use mailhost objects (to keep anonymous users from using your Zope server as a spam box.) If you want people other than managers to be able to send mail, you must set the "Manager" proxy role on the DTML method you use to send the message. -Randy
-----Original Message----- From: Tim Haines [mailto:tim@ims.co.nz] Sent: Sunday, April 29, 2001 4:28 PM To: zope@zope.org Subject: [Zope] sendmail problem or issue?
Hi there,
I've run into a few problems with the sendmail tag this morning.
1) I have the sendmail tag using the mailhost arg. Running the page from the server works fine. If I try and run it from another machine, zope tells me it can't find mailhost.
2) I have the sendmail tag using the smtphost arg. Works fine from the server and from other machines in the internal network (which are allowed to use the smtp server), but of course it doesn't work from machines external to the network, i.e. Jim Bob from X Corp across town can't run the page because his machine isn't allowed to use the smtp server.
I would have expected that the mail is created and sent by the machine running zope, not the machine running the browser. What's going on here, and what should I do to fix the problem?
Tim.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )