The file to attach.
The name to give the attachment.
The name to give the attachment. Defaults to the given file's name.
Headers to add to the content.
Returns the MimeBodyPart representation of the content.
Returns the MimeBodyPart representation of the content.
File attachment content.
The file to attach.
The name to give the attachment. Defaults to the given file's name.
Headers to add to the content.