Class Email.Attachment

java.lang.Object
org.summerboot.jexpress.integration.smtp.Email.Attachment
All Implemented Interfaces:
Serializable
Enclosing class:
Email

public static class Email.Attachment extends Object implements Serializable
See Also:
  • Field Details

    • type

      protected final String type
    • dataStream

      protected final byte[] dataStream
    • fileName

      protected final String fileName
    • cid

      protected String cid
  • Constructor Details

    • Attachment

      public Attachment(String type, byte[] dataStream, String fileName, String cid)
      Parameters:
      type - - the file extention, ie. "pdf", image
      dataStream -
      fileName -
      cid - - <img src="cid:logo">
  • Method Details