atom feed7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Email Disclaimer
FromSent OnAttachments
new...@poq.co.zaOct 30, 2008 1:21 am 
Jerome BlionOct 30, 2008 1:39 am 
Dino CiuffettiOct 30, 2008 3:37 am 
Gordon MessmerOct 30, 2008 8:32 am 
Dino CiuffettiOct 30, 2008 12:45 pm 
Michelle KonzackNov 7, 2008 3:35 am 
Michelle KonzackNov 7, 2008 3:35 am 
Subject:Re: [courier-users] Email Disclaimer
From:Michelle Konzack (linu@tamay-dogan.net)
Date:Nov 7, 2008 3:35:18 am
List:net.sourceforge.lists.courier-users

Am 2008-10-30 11:38:15, schrieb Dino Ciuffetti:

Yes, it's fine, but the add_signature plugin works adding the signature as attachment to the mail for SMTP logged people only. Also, I found that some email provider (like hotmail) does not render text attachments inline on the webmail interface (gmail does it ok).

To solve this problem, I patched add_signature python plugin to parse the mail body and the first html attachment to append the signature at the end and not to add the signature as attachment.

At the end AFTER the </html>? In some Mailclients it is NOT shown.

the best is to replace the </[Hh][Tt][Mm][Ll]> by

<pre> ${DISCLAIMER} </pre> </html>

which is waht I do

on the other hand you can check the Mail-BODY for mimetype multipart or signed or anything like this, extract the BOUNDARY string, search te last one in the message and replace "${BOUNDARY}--" with

${BOUNDARY} Content-Type: text/plain Content-Disposition: inline

${DISCLAIMER}

${BOUNDARY}--

which works too...