Changes between Version 2 and Version 3 of Email2tracOnWindows
- Timestamp:
- Jun 18, 2013, 11:17:59 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Email2tracOnWindows
v2 v3 24 24 * Signature stripping -- I found that the signature stripping done in the script when the strip_signature config variable was set didn't work correctly for the format of our emails so I made a slight edit to the script. In the section of the script that defines useful mail constants (around line 141), I added the variable self.get_signature_match = '---'. Then in the strip_signature method (around line 728) I replaced the line "if line == '-- ':" with "if line.startswith(self.get_signature_match):". This resulted in the successful stripping of most signatures as well as old original message info I didn't want to get added on each response. 25 25 26 Note: See https:// subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration26 Note: See https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracConfiguration 27 27 for complete configuration instructions. 28 28 … … 43 43 to 0. The trac_version variable is important if you're running trac . 44 44 11 so that you don't receive an error like "str object is not 45 callable". See https:// subtrac.sara.nl/oss/email2trac/ticket/34 for45 callable". See https://oss.trac.surfsara.nl/email2trac/ticket/34 for 46 46 more information about the background of this one. 47 47