IBM Support

IT09127: MAILMIME SERVICE AND SMTP SEND ADAPTER FAIL TO SEND THE STATUS REPORT AS THE EMAIL BODY IN 7BIT ENCODING.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In V5.2.5 when using the following BPML to send a txt file,
    the document sent is encoded as base64 (instead of 7bit -
    ASCII). The end user is not able to open the message due to the
    encoding.
    
    <operation name="Mail Mime Service">
    <participant name="MailMimeService"/>
    <output message="MailMimeServiceInputMessage">
    <assign to="mail-mime-recipient">YOUREMAIL</assign>
    <assign to="mail-mime-subject">My Mail Subject</assign>
    <assign to="mail-mime-sender">YOUREMAIL</assign>
    <assign to="mail-mime-use-doc-area">true</assign>
    <assign to="mail-mime-operation">build</assign>
    <assign to="." from="*"></assign>
    </output>
    <input message="inmsg">
    <assign to="." from="*"></assign>
    </input>
    </operation>
    <operation name="SMTP Send Adapter">
    <participant name="SMTP_SEND_ADAPTER"/>
    <output message="SMTP_SEND_ADAPTERInputMessage">
    <assign to="xport-smtp-mailto">YOUREMAIL</assign>
    <assign to="xport-smtp-mailfrom">YOUREMAIL</assign>
    <assign to="xport-smtp-mailsubject">My mail subject</assign>
    <assign to="." from="*"></assign>
    </output>
    <input message="inmsg">
    <assign to="." from="*"></assign>
    
    The email is sent successfully, but the following is noticed in
    the Primary Document right after the MailMime step:
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_Part_49_-1305354746.1432133994913"
    
    
    ------=_Part_49_-1305354746.1432133994913
    Content-Type: text/plain
    Content-Transfer-Encoding: base64
    
    U0FNUExFIERPQ1VNRU5UDQpTbWFsbA==
    ------=_Part_49_-1305354746.1432133994913--
    
    
    Notice the "Content-Transfer-Encoding:base64" even though this
    was a simple text file.
    

Local fix

  • STRRTC - 466538
    SB/SB
    
    Circumvention:
    Instead of sending the file in the body of the email, the file
    can be sent as an attachment using the Mail Mime and SMTP Send
    adapter. The recipient of the file can open it with a text
    editor.
    

Problem summary

  • USERS AFFECTED:
    ALL
    
    PROBLEM DESCRIPTION:
    MAIL MIME SERVICE IN V5.2.5 AND FAILS TO SEND A DOCUMENT IN THE
    BODY.
    
    PLATFORMS AFFECTED:
    ALL
    

Problem conclusion

  • RESOLUTION SUMMARY:
    This issue was introduced as result of APAR IC86843.
    As part of fixing the issue a new parameter is introduced,
    called 'base64Encode' in the MailMimeService, which takes the
    boolean values. This is an optional parameter.
    Default value is false. If anything other than
    true or false is specified, the default value of false will be
    used for this parameter.
    If base64Encode is set to:
        - true = then the documents will be encoded in base64
        - false or not specified = the documents will not be
    encoded in base64
    
    NOTE:
    In addition, to remedy APAR IC86843,
    the parameter 'base64Encode' is now set to true in the BP
    FileGatewayEventEmailNotification in the MailMimeService. This
    allows
    the Japanese contents to be encoded in base64 and the
    BP will not fail to send the email contents in Japanese
    locale.
    
    Example is as shown below:
    
        <operation name="Mail Mime Service">
            <participant name="MailMimeService"/>
                <output message="MailMimeServiceInputMessage">
                    <assign to="mail-mime-body">true</assign>
                    <assign to="mail-mime-operation">build</assign>
                    <assign to="mail-mime-subject"
    from="Evf/EmailSubject/text()" />
                    <assign
    to="mail-mime-subject-encoding">UTF-8</assign>
                    <assign to="mail-mime-recipient"
    from="Evf/EmailRecipient/text()"/>
                    <assign to="mail-mime-sender"
    from="Evf/EmailSender/text()"/>
                    <assign to="base64Encode">true</assign>
                    <assign to="parse">false</assign>
                    <assign to="." from="*"></assign>
                </output>
                <input message="inmsg">
                    <assign to="." from="*"></assign>
                </input>
        </operation>
    
    
    DELIVERED IN:
    5020500_6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT09127

  • Reported component name

    STR B2B INTEGRA

  • Reported component ID

    5725D0600

  • Reported release

    525

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-05-27

  • Closed date

    2015-06-10

  • Last modified date

    2016-09-22

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

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

Fix information

  • Fixed component name

    STR B2B INTEGRA

  • Fixed component ID

    5725D0600

Applicable component levels

  • R525 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.5","Edition":"","Line of Business":{"code":"LOB02","label":"AI Applications"}}]

Document Information

Modified date:
22 September 2016