Class EmailAttachment
java.lang.Object
org.apache.commons.mail.EmailAttachment
This class models an email attachment. Used by
MultiPartEmail.- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the description.Gets the disposition.getName()Gets the name.getPath()Gets the path.getURL()Gets the URL.voidsetDescription(String desc) Sets the description.voidsetDisposition(String aDisposition) Sets the disposition.voidSets the name.voidSets the path to the attachment.voidSets the URL.
-
Field Details
-
ATTACHMENT
-
INLINE
-
-
Constructor Details
-
EmailAttachment
public EmailAttachment()Constructs a new instance.
-
-
Method Details
-
getDescription
-
getDisposition
-
getName
-
getPath
-
getURL
-
setDescription
Sets the description.- Parameters:
desc- A String.- Since:
- 1.0
-
setDisposition
Sets the disposition.- Parameters:
aDisposition- A String.- Since:
- 1.0
-
setName
-
setPath
-
setURL
-