public class PdfEmailSettings extends Object
Modifier and Type | Field and Description |
---|---|
static int |
EMAIL_SETTINGS_TYPE_GMAIL |
static int |
EMAIL_SETTINGS_TYPE_HOTMAIL |
static int |
EMAIL_SETTINGS_TYPE_YAHOO |
static int |
RECIPIENT_TYPE_BCC |
static int |
RECIPIENT_TYPE_CC |
static int |
RECIPIENT_TYPE_TO |
Modifier and Type | Method and Description |
---|---|
void |
addAttachment(byte[] attachment,
String attachmentMimeType,
String attachmentName) |
void |
addAttachment(InputStream attachment,
String attachmentMimeType,
String attachmentName) |
void |
addAttachment(String attachmentFilePath,
String attachmentName) |
void |
addRecipient(int recipientType,
String recipient) |
void |
addRecipients(int recipientType,
String[] recipients) |
void |
applyEmailSettingsType(int emailSettingsType) |
String |
getBody() |
String |
getBodyEncoding() |
PdfEmailProviderInterface |
getEmailProvider() |
String |
getFromAddress() |
String |
getFromName() |
String |
getHost() |
String |
getPassword() |
int |
getPortNumber() |
String |
getReplyTo() |
Date |
getSentDate() |
String |
getSubject() |
String |
getUserName() |
boolean |
isAuthenticationRequired() |
boolean |
isBodyHTML() |
boolean |
isDebugEnabled() |
boolean |
isSSLCheckServerIdentity() |
boolean |
isSSLEnabled() |
boolean |
isStartTLSEnabled() |
void |
setAuthenticationRequired(boolean authenticationRequired) |
void |
setBody(String body) |
void |
setBody(String body,
String charset,
boolean isHTML) |
void |
setBodyEncoding(String bodyMimeType) |
void |
setBodyHTML(boolean isBodyHTML) |
void |
setDebugEnable(boolean debugEnabled) |
void |
setEmailProvider(PdfEmailProviderInterface emailProvider) |
void |
setFromAddress(String fromAddress) |
void |
setFromName(String fromName) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPortNumber(int portNumber) |
void |
setReplyTo(String replyTo) |
void |
setSentDate(Date date) |
void |
setSSLCheckServerIdentity(boolean sslCheckServerIdentity) |
void |
setSSLEnabled(boolean sslEnabled) |
void |
setStartTLSEnabled(boolean startTLSEnabled) |
void |
setSubject(String subject) |
void |
setUserName(String userName) |
public static final int RECIPIENT_TYPE_TO
public static final int RECIPIENT_TYPE_CC
public static final int RECIPIENT_TYPE_BCC
public static final int EMAIL_SETTINGS_TYPE_GMAIL
public static final int EMAIL_SETTINGS_TYPE_HOTMAIL
public static final int EMAIL_SETTINGS_TYPE_YAHOO
public void setEmailProvider(PdfEmailProviderInterface emailProvider) throws PdfEmailException
PdfEmailException
public PdfEmailProviderInterface getEmailProvider()
public void applyEmailSettingsType(int emailSettingsType) throws PdfEmailException
PdfEmailException
public void setUserName(String userName)
public String getUserName()
public void setPassword(String password)
public String getPassword()
public void setAuthenticationRequired(boolean authenticationRequired)
public boolean isAuthenticationRequired()
public void setFromName(String fromName)
public String getFromName()
public void setFromAddress(String fromAddress)
public String getFromAddress()
public void setHost(String host)
public String getHost()
public void setPortNumber(int portNumber)
public int getPortNumber()
public void setSSLEnabled(boolean sslEnabled)
public boolean isSSLEnabled()
public boolean isStartTLSEnabled()
public void setStartTLSEnabled(boolean startTLSEnabled)
public boolean isSSLCheckServerIdentity()
public void setSSLCheckServerIdentity(boolean sslCheckServerIdentity)
public void setReplyTo(String replyTo)
public String getReplyTo()
public void setSubject(String subject)
public String getSubject()
public void setBody(String body)
public String getBody()
public void setBodyEncoding(String bodyMimeType)
public String getBodyEncoding()
public void setBodyHTML(boolean isBodyHTML)
public boolean isBodyHTML()
public void setSentDate(Date date)
public Date getSentDate()
public void addRecipient(int recipientType, String recipient)
public void addRecipients(int recipientType, String[] recipients)
public void addAttachment(InputStream attachment, String attachmentMimeType, String attachmentName)
public void addAttachment(byte[] attachment, String attachmentMimeType, String attachmentName)
public void setDebugEnable(boolean debugEnabled)
public boolean isDebugEnabled()