IBM Support

The MAIL-MIME service is not base64 encoding pdf file mail attachments, received PDF is unreadable

Troubleshooting


Problem

The MAIL-MIME service is not base64 encoding pdf file mail attachments, received PDF is not readable. In the BP execution, for the Mail Mime service in the Primary Document the PDF file attachments are being encoded as charset=CP1252, Content-Transfer-Encoding: quoted-printable. This causes email attachments received are to be unreadable and Adobe will post errors.

Symptom

PrimaryDocument
The MIME Header of the mail attachement you are getting:
------=_Part_14_20165147.1308584434420
Content-Type: text/plain; name="ci1307991475562.764561@llnap12_te.pdf";
charset=Cp1252 <br /> Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="ci1307991475562.764561@llnap12_te.pdf"

You found document 1562775 and attempted to use the GetDocumentInfoService to set DocumentCharEncoding to base64 and DocumentContentType to text/plain, this was prior to the Mail Mime service, and following by the SMTP Send service. But base64 encoding still was not selected, so the received attachment remained unreadable after it was opened. This solution did not help.

Error Message


Received email attachments are unreadable and only post the following Adobe error when the attachment is opened:

'Insufficient data for an image', next I hit OK. Then there is another Adobe Reader error that says 'An error
exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem', next I hit OK and I'm just presented with a blank screen.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Extensions","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2;5.1;5.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

NFX11465

Document Information

Modified date:
11 October 2019

UID

swg21555769