Community and Support

            Issue : Mail sending takes longer time than usual.

            In some environments, mail sending takes longer time (say 30-45s).
            This might be due to the time taken for authentication while sending mails.

            We have reduced this time by

            1. Creating a static Mail session.
            2. Creating a SMTPTransport object for each thread and store it in the threadLocal. ( This will reduce the repeated authentications when several mails are sent through in the same thread ).

            Jar attached : mailSendingPer.fjar
            Compatible SDP version : 9416

            Attachments (1)
            Updated: 19 Sep 2018 03:02 AM
            Help us to make this article better
            0 0