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....Security Events Acquisition Ask AI GroupDocs Documentation / GroupDocs...