Interface IMailMessageAttachment
- All Known Implementing Classes:
MailMessageAttachment
public interface IMailMessageAttachment
Interface describing an email attachment.
- Since:
- 9.8
- Author:
- Alexandra Aldea, Voicu Moldovan
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
This method returns the content of a mail attachment.This method returns the content type of a mail attachment.This method returns the name of a mail attachment.
-
Method Details
-
getContent
byte[] getContent()This method returns the content of a mail attachment.- Returns:
- The array of bytes containing the content.
-
getContentType
String getContentType()This method returns the content type of a mail attachment.- Returns:
- A string representing the content type value.
-
getFileName
String getFileName()This method returns the name of a mail attachment.- Returns:
- A string representing the name of the attachment.
-