Try OpenEdge Now
skip to main content
BP Server Developer's Guide
E-mail templates for task completion : HTML e-mail templates : Decoding of document file names

Decoding of document file names

JavaMail automatically encodes the e-mail message parts before sending an e-mail and after receiving it, decodes the message while reading it. The MIME specification does not allow header parameter values such as attachment’s file name to be encoded. That is why JavaMail does not encode or decode filenames in the header. Business Process Server’s EmailReader is configured to decode the filename in the order specified below:
EmailReader uses JavaMail’s MimeUtility and Commons-Codec to decode the encoded file names.