IBM Support

IC86843: MAILMIMESERVICE FAILS WHEN EMAIL MIMEMESSAGE IS IN JAPANESE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • MailMimeService fails when mimemessage is in Japanese.
    

Local fix

Problem summary

  • MailMimeService fails when mimemessage is created in Japanese.
    The fix is to encode base64 to the payload, and set header to
    base64 to MimeBodyPart.
    The PrimaryDocument out from MailMimeService will be displayed
    in Base64.
    Users Affected:
    All
    Platforms Affected:
    All
    

Problem conclusion

  • To fix the issue,
    the payload from the previous step needs to be encoded with
    base64.
    Created a new Document with base64encoded outputstream, and use
    inputstream from primary document to read back the payload, then
    use base64encoded outputstream to write whatever read. Pass this
    new document to BuildMimeMessage.
    When mimeBodyPart object is created, its header needs to call:
    headers.addHeader("Content-Transfer-Encoding", "base64");
    DELIVERED IN:
    5020500
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC86843

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    523

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-27

  • Closed date

    2012-09-27

  • Last modified date

    2015-03-19

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R524 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
19 March 2015