Edit detail for #1299 Plone-2.5.1-UnifiedInstaller + ZWiki-0.56: Mailout seems broken revision 1 of 1

1
Editor: betabug
Time: 2007/02/25 10:55:31 GMT+0
Note:

changed:
-
Plone-2.5.1-UnifiedInstaller + ZWiki-0.56: Mailout seems broken

  - No track why I don't receive email notification when I send a comment from ZWiki page : no message in the my console and in the event.log. My plone mailouts normally.

  - The mailout works for another ZWiki instance on the same machine but with Plone 2.05 + ZWiki-0.55.

  Regards.



From simon Wed Nov 1 10:05:16 -0800 2006
From: simon
Date: Wed, 01 Nov 2006 10:05:16 -0800
Subject: 
Message-ID: <[email protected]>

Can you chat me on #zwiki to troubleshoot this ?

From tomk Thu Nov 2 03:46:07 -0800 2006
From: tomk
Date: Thu, 02 Nov 2006 03:46:07 -0800
Subject: same observation
Message-ID: <[email protected]>

I installed a 0.57 three days ago on a plone 2.5.1. Mail out does not work. No entries in event.log and smtp log. I won't be a big help on troubleshooting this as I'm not a linux/plone etc. crack. But thanks anyway for the nice zwiki product. It's very useful! I you can fix this it would be even more helpful ;-) . Regards, Tom

From betabug Fri Feb 23 08:22:12 +0000 2007
From: betabug
Date: Fri, 23 Feb 2007 08:22:12 +0000
Subject: can reproduce
Message-ID: <[email protected]>

I'm reproducing this on my test setup (latest Zwiki, Plone installed from the .tgz from plone.org - seems to be 2.5.2).

I've got regular Plone mailout working, and Zwiki mailout indeed does not leave a trace in the SMTP logs.

From betabug Fri Feb 23 08:45:26 +0000 2007
From: betabug
Date: Fri, 23 Feb 2007 08:45:26 +0000
Subject: Problem's No 1 and No 2
Message-ID: <[email protected]>

No1: the bare try;except masked off a "MailHostError: No message recipients designated" - it just got retried 3 times without the except clause being run? It looks like the SecureMailHost (used by plone) API is wrong in that "mto" is a required parameter, not an optional parameter?

No2: SecureMailHost seems to ignore our BCC header... trying to look through this now.

From betabug Fri Feb 23 10:33:17 +0000 2007
From: betabug
Date: Fri, 23 Feb 2007 10:33:17 +0000
Subject: handling mailout for !SecureMailHost now by using the secureSend() method
Message-ID: <[email protected]>

Status: open => closed 

This fixes this bug, mail out for plone is working again now. The same bug would have applied to any site that uses SecureMailHost.

We might want to do more error handling both for sending through SecureMailHost and normal MailHosts though. But I guess that would be another issue, so I'm closing this one. See #1310

Submitted by : simon at: 2006-10-17T08:29:40+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Plone-2.5.1-UnifiedInstaller? + ZWiki-0.56: Mailout seems broken

  • No track why I don't receive email notification when I send a comment from ZWiki page : no message in the my console and in the event.log. My plone mailouts normally.
  • The mailout works for another ZWiki instance on the same machine but with Plone 2.05 + ZWiki-0.55.

Regards.

... --simon, Wed, 01 Nov 2006 10:05:16 -0800 reply

Can you chat me on #zwiki to troubleshoot this ?

same observation --tomk, Thu, 02 Nov 2006 03:46:07 -0800 reply

I installed a 0.57 three days ago on a plone 2.5.1. Mail out does not work. No entries in event.log and smtp log. I won't be a big help on troubleshooting this as I'm not a linux/plone etc. crack. But thanks anyway for the nice zwiki product. It's very useful! I you can fix this it would be even more helpful ;-) . Regards, Tom

can reproduce --betabug, Fri, 23 Feb 2007 08:22:12 +0000 reply

I'm reproducing this on my test setup (latest Zwiki, Plone installed from the .tgz from plone.org - seems to be 2.5.2).

I've got regular Plone mailout working, and Zwiki mailout indeed does not leave a trace in the SMTP logs.

Problem's No 1 and No 2 --betabug, Fri, 23 Feb 2007 08:45:26 +0000 reply

No1: the bare try;except masked off a "MailHostError?: No message recipients designated" - it just got retried 3 times without the except clause being run? It looks like the SecureMailHost? (used by plone) API is wrong in that "mto" is a required parameter, not an optional parameter?

No2: SecureMailHost? seems to ignore our BCC header... trying to look through this now.

handling mailout for SecureMailHost now by using the secureSend() method --betabug, Fri, 23 Feb 2007 10:33:17 +0000 reply

Status: open => closed

This fixes this bug, mail out for plone is working again now. The same bug would have applied to any site that uses SecureMailHost?.

We might want to do more error handling both for sending through SecureMailHost? and normal MailHosts? though. But I guess that would be another issue, so I'm closing this one. See #1310