There's a zope product called SecureMailHost. Perhaps that's what
you're looking for.
On 9/8/05, Georgakopoulos Nicolas <[EMAIL PROTECTED]> wrote:
> Lennart Regebro wrote:
> On 9/8/05, Georgakopoulos Nicolas <[EMAIL PROTECTED]> wrote:
> Can some one help out how to set up a ZTP form to use a mailhost object
> and send a email with the data that the form was filled ?
> I have made the form successfully , my problem is that I don't know how
> to use the mailhost.
> ps:Can I use a web mail account to send a mail like gmail ?
> No, you need to configure it to use your mail server for outgoing mail.
> When this is done, you send the mail with the mailhost send function.
> It's quite easy really. Make a little python script that takes the
> form and calls MailHost.send.
> I have write the script :
> # locate the mailhost
> # email message settings
> recipient='[EMAIL PROTECTED]'
> sender='[EMAIL PROTECTED]'
> subject='A test mail'
> # format the email message
> message='Hello by mail ! '
> # send the message
> mailhost.simple_send(recipient, sender, subject, message)
> # return a confirmation message
> return page()
> When I try to send mail the browser keep waiting for data response , and
> never take a response.I use netstat and check that a connection is
> established with my SMTP address. I guess that my problem for the moment is
> that I can't pass throu an SSL connection (my smtp server use SSL) and I
> cant find a way on mailhost object to change the set SSL . Does mailhost
> object or ZOPE support SSL connections for SMTP protocol ?
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -