| From | Sent On | Attachments |
|---|---|---|
| new...@poq.co.za | Oct 30, 2008 1:21 am | |
| Jerome Blion | Oct 30, 2008 1:39 am | |
| Dino Ciuffetti | Oct 30, 2008 3:37 am | |
| Gordon Messmer | Oct 30, 2008 8:32 am | |
| Dino Ciuffetti | Oct 30, 2008 12:45 pm | |
| Michelle Konzack | Nov 7, 2008 3:35 am | |
| Michelle Konzack | Nov 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...
Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network Debian GNU/Linux Consultant
-- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 +49/177/9351947 50, rue de Soultz MSN LinuxMichi +33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





