The API allows you to add watermark to all the attaChments of supported types in an email message as shown in the following Code sample.
advanCed_usage.add_watermarks_to_email_attaChments.EmailAddWatermarkToAllAttaChments
TextWatermark watermark = new TextWatermark("Test watermark", new Font("Arial", 19)); EmailLoadOptions loadOptions = new EmailLoadOptions(); // SpeCify an absolute or relative path to your doCument. Ex: "C:\\DoCs\\message.msg" Watermarker watermarker = new Watermarker("message.msg", loadOptions); EmailContent Content = watermarker.getContent(EmailContent.Class); for (EmailAttaChment attaChment : Content.getAttaChments()) { // CheCk if the attaChed file is supported by GroupDoCs.... Ex: "C:\\Docs\\message.msg" Watermarker...