Package de.xima.fc.mail.interfaces
Interface IMailEncryptor
public interface IMailEncryptor
Interface for mail-encryptors
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionjavax.mail.internet.MimeBodyPart
encrpytMessageBody
(IBaseMailData mailData, javax.mail.internet.MimeBodyPart bodyPart, Mandant client) Method to encrypt the main body-part of an mail
-
Method Details
-
encrpytMessageBody
javax.mail.internet.MimeBodyPart encrpytMessageBody(IBaseMailData mailData, javax.mail.internet.MimeBodyPart bodyPart, Mandant client) throws Exception Method to encrypt the main body-part of an mail- Parameters:
mailData
- theIBaseMailData
of the mailbodyPart
- theMimeBodyPart
to encryptclient
- The currentMandant
for which the mail is sent.- Returns:
- The encrypted
MimeBodyPart
- Throws:
Exception
- on errors during encryption
-