Signature not removed, OG group not set for publication of discusisons in listhandler

lejon - June 30, 2008 - 09:16
Project:Mailhandler
Version:6.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:patch (to be ported)
Description

Hi,

The signature is not removed from emails I send, despite the "-- " being my signature cut-off point set in my Thunderbird email accoutn settings and as the signature cutoff point in mailhandler.

I am using mailhandler with listhandler and for some reason when new discussion topics are submitted, they are not assigned to the organic group despite this command set in mailhandler:

og_group: [421]

Strangely, replies to a topic ARE allocated to the group. Any ideas?

Thanks

#1

cocooncrash - July 6, 2008 - 19:05
Version:5.x-1.2» 6.x-1.2
Component:Miscellaneous» Code
Status:active» needs review

The problem is that lines are trimmed before checking for the signature, which means that the trailing space is stripped and therefore doesn't match. My attached patch changes the signature check so that it is done against the untrimmed line.

AttachmentSize
mailhandler-signature.diff 517 bytes

#2

moshe weitzman - July 6, 2008 - 19:44
Status:needs review» patch (to be ported)

Committed to 6. Awaiting a D5 patch. Thanks.

#3

kirkcaraway - September 12, 2009 - 17:48

Not sure if this has been fixed yet, but I'm having the same problem. I even tried substituting "###" for the normal "-- " and it still doesn't recognize it, and lets it all flow through. Is there something I'm missing? Thanks.

 
 

Drupal is a registered trademark of Dries Buytaert.