how to configure JavaMail System property "mail.mime.encodeparameters" in default mail session

Solution Verified - Updated -

Issue

The PDF report file in outlook are displayed as .dat file. How to add java mail system property to default mail session.

            <subsystem xmlns="urn:jboss:domain:mail:3.0">
                <mail-session name="default" jndi-name="java:jboss/mail/Default">
                    <smtp-server outbound-socket-binding-ref="mail-smtp"/>
                </mail-session>
            </subsystem>

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In