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....Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product...Solution GroupDocs.Annotation Product Solution GroupDocs.Conversion...