List of usage examples for org.apache.commons.mail EmailAttachment INLINE
String INLINE
To view the source code for org.apache.commons.mail EmailAttachment INLINE.
Click Source Link
From source file:lucee.runtime.tag.MailParam.java
/** * @param disposition The disposition to set. * @throws ApplicationException //from ww w . jav a 2s . c o m */ public void setDisposition(String disposition) throws ApplicationException { disposition = disposition.trim().toLowerCase(); if (disposition.equals("attachment")) this.disposition = EmailAttachment.ATTACHMENT; else if (disposition.equals("inline")) this.disposition = EmailAttachment.INLINE; else throw new ApplicationException("disposition must have one of the following values (attachment,inline)"); }