Interface EmailSrv.ProvideBase64Data

All Known Implementing Classes:
EmailSrv.EmailEmbedProvideBase64Data
Enclosing class:
EmailSrv

public static interface EmailSrv.ProvideBase64Data
When process an email content, sometimes we wish to embed image as base64 string to mail.
Source of image can come from many where. this interface for abstract source.
Author:
hieplq
  • Method Details

    • getBase64Data

      String getBase64Data(String dataId) throws javax.mail.MessagingException, IOException
      Throws:
      javax.mail.MessagingException
      IOException
    • getBodyPart

      javax.mail.BodyPart getBodyPart(String dataId) throws javax.mail.MessagingException, IOException
      Throws:
      javax.mail.MessagingException
      IOException