Mailing List CGatePro@mail.stalker.com Message #98394
From: Paul Dudley <pdudley@anl.com.au>
Subject: RE: Trailers and Pronto
Date: Mon, 27 Jul 2009 15:36:23 +1000
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
X-Mailer: CommuniGate Pro MAPI Connector 1.51.15.1/1.52.15.2

Thanks Alastair for your clear explanation. I have added an extra line to the Add Trailer rule looking for the "X-Mailer: CommuniGate Pro Pronto*" mail header as you suggested and it works fine.

 

Thanks & Regards

Paul

 

Paul Dudley

Senior IT Systems Administrator

ANL Container Line Pty Limited

Email: pdudley@anl.com.au

 

 


From: Alastair Burr [mailto:alastair.burr@bluestar-software.co.uk]
Sent: Friday, 24 July 2009 11:02 PM
Subject: Re: Trailers and Pronto

 

Paul,

I can remember having this problem as well, and after progressing a support ticket with CommuniGate early last year, they said that after researching the issue that they would get this passed back to the engineer who originally wrote the plugin (which is a free addon not part of the main release), and they also suggested the Niversoft solution in the meanwhile.

So we decided to go with the Niversoft solution, there is a free and a Pro version, we bought the Pro version as it integrates better, is very reasonably priced, and adds extra flexibility (as we use different footers for HTML / plaintext) and this does work properly with multi-part messages written in Pronto.

If you really are interested, the actual problem with the AddTrailer plugin appears to be that it incorrectly calculates where to place the footer in multi-part mails. This does not appear to be an issue via MAPI / WebMail / SMTP, but is via Pronto, presumably due to the way that Pronto writes the mail headers (at a guess). So as an example e.g. when Pronto outputs the following:

... headers ...

Test Message Test

--_===71069====bluestar-software.co.uk===_
Content-Disposition: attachment;
filename="TEST_SPREADSHEET.xls"
Content-Type: application/vnd.ms-excel; name="TEST_SPREADSHEET.xls"
Content-Transfer-Encoding: base64

... attachment ...


The AddTrailer plugin places the footer a bit too far down (it should be placed at the end of the message before the multi part boundary), thus it corrupts the message as the receiving client won't have a clue where to start, although some clients complain more than others and present the attachment differently.

... headers ...

Test Message

--_===71069====bluestar-software.co.uk===_
Content-Disposition: attachment;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EXAMPLE DISCLAIMER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

filename="TEST_SPREADSHEET.xls"
Content-Type: application/vnd.ms-excel; name="TEST_SPREADSHEET.xls"
Content-Transfer-Encoding: base64

... attachment ...


So there is nothing that you can do at your end to get this to work properly as it is a compiled plugin, the only real choices you have are either:

(a) use the free AddFooter plugin from Niversoft
(b) buy the pro AddFooter plugin from Niversoft (which is quicker as it runs as an external filter),
(c) don't add a disclaimer message for Pronto messages, as you said this can likely be done as a rule by looking for the "X-Mailer: CommuniGate Pro Pronto*" mail header in your AddTrailer rule
(d) wait for CommuniGate to fix the issue (which they might do eventually, but I imagine this is very low on their list as the AddTrailer plugin is provided for free and is not part of their core product)
(e) write your own plugin (though this option is a bit extreme and would be very complicated)

I hope this helps!


Alastair Burr
Senior Software Engineer, Bluestar Software
Telephone: +44 (0)1256 882695
Web site: www.bluestar-software.co.uk
Email: alastair.burr@bluestar-software.co.uk

 

ANL DISCLAIMER
This e-mail and any file attached is confidential, and intended solely to the named addressees. Any unauthorised dissemination or use is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by return e-mail from your system. Please do not copy, use or make reference to it for any purpose, or disclose its contents to any person.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DISCLAIMER: This email message and any attachments is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information.  Any unauthorised review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of
the original message.

The views expressed in this message may not necessarily reflect the
views of Bluestar Software Ltd.

Bluestar Software Ltd, Registered in England
Company Registration No. 03537860, VAT No. 709 2751 29
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster