The following are methods for EmailFileAttachment. All are instance methods.
public Void setBody(Blob attachment)
Type: Void
public Void setContentType(String contentType)
Type: Void
public Void setFileName(String fileName)
Type: Void
public Void setInline(Boolean isInline)
Type: Void
In most cases, inline content is displayed to the user when the message is opened. Attachment content requires user action to be displayed.