com.gnostice.pdfone
Class PdfEmailProviderJavaMail
java.lang.Object
com.gnostice.pdfone.PdfEmailProviderJavaMail
- All Implemented Interfaces:
- PdfEmailProviderInterface
public class PdfEmailProviderJavaMail
- extends Object
- implements PdfEmailProviderInterface
PdfEmailProviderJavaMail
public PdfEmailProviderJavaMail()
setUserName
public void setUserName(String userName)
- Specified by:
setUserName
in interface PdfEmailProviderInterface
getUserName
public String getUserName()
- Specified by:
getUserName
in interface PdfEmailProviderInterface
setPassword
public void setPassword(String password)
- Specified by:
setPassword
in interface PdfEmailProviderInterface
getPassword
public String getPassword()
- Specified by:
getPassword
in interface PdfEmailProviderInterface
setAuthenticationRequired
public void setAuthenticationRequired(boolean authenticationRequired)
- Specified by:
setAuthenticationRequired
in interface PdfEmailProviderInterface
isAuthenticationRequired
public boolean isAuthenticationRequired()
- Specified by:
isAuthenticationRequired
in interface PdfEmailProviderInterface
setFromName
public void setFromName(String fromName)
- Specified by:
setFromName
in interface PdfEmailProviderInterface
getFromName
public String getFromName()
- Specified by:
getFromName
in interface PdfEmailProviderInterface
setFromAddress
public void setFromAddress(String fromAddress)
- Specified by:
setFromAddress
in interface PdfEmailProviderInterface
getFromAddress
public String getFromAddress()
- Specified by:
getFromAddress
in interface PdfEmailProviderInterface
setHost
public void setHost(String host)
- Specified by:
setHost
in interface PdfEmailProviderInterface
getHost
public String getHost()
- Specified by:
getHost
in interface PdfEmailProviderInterface
setPortNumber
public void setPortNumber(int portNumber)
- Specified by:
setPortNumber
in interface PdfEmailProviderInterface
getPortNumber
public int getPortNumber()
- Specified by:
getPortNumber
in interface PdfEmailProviderInterface
setSSLEnabled
public void setSSLEnabled(boolean sslEnabled)
- Specified by:
setSSLEnabled
in interface PdfEmailProviderInterface
isSSLEnabled
public boolean isSSLEnabled()
- Specified by:
isSSLEnabled
in interface PdfEmailProviderInterface
isStartTLSEnabled
public boolean isStartTLSEnabled()
- Specified by:
isStartTLSEnabled
in interface PdfEmailProviderInterface
setStartTLSEnabled
public void setStartTLSEnabled(boolean startTLSEnabled)
- Specified by:
setStartTLSEnabled
in interface PdfEmailProviderInterface
isSSLCheckServerIdentity
public boolean isSSLCheckServerIdentity()
- Specified by:
isSSLCheckServerIdentity
in interface PdfEmailProviderInterface
setSSLCheckServerIdentity
public void setSSLCheckServerIdentity(boolean sslCheckServerIdentity)
- Specified by:
setSSLCheckServerIdentity
in interface PdfEmailProviderInterface
setReplyTo
public void setReplyTo(String replyTo)
- Specified by:
setReplyTo
in interface PdfEmailProviderInterface
getReplyTo
public String getReplyTo()
- Specified by:
getReplyTo
in interface PdfEmailProviderInterface
setSubject
public void setSubject(String subject)
- Specified by:
setSubject
in interface PdfEmailProviderInterface
getSubject
public String getSubject()
- Specified by:
getSubject
in interface PdfEmailProviderInterface
setBody
public void setBody(String body)
- Specified by:
setBody
in interface PdfEmailProviderInterface
setBody
public void setBody(String body,
String charset,
boolean isHTML)
- Specified by:
setBody
in interface PdfEmailProviderInterface
getBody
public String getBody()
- Specified by:
getBody
in interface PdfEmailProviderInterface
setBodyEncoding
public void setBodyEncoding(String charset)
- Specified by:
setBodyEncoding
in interface PdfEmailProviderInterface
getBodyEncoding
public String getBodyEncoding()
- Specified by:
getBodyEncoding
in interface PdfEmailProviderInterface
setBodyHTML
public void setBodyHTML(boolean isHTML)
- Specified by:
setBodyHTML
in interface PdfEmailProviderInterface
isBodyHTML
public boolean isBodyHTML()
- Specified by:
isBodyHTML
in interface PdfEmailProviderInterface
setSentDate
public void setSentDate(Date date)
- Specified by:
setSentDate
in interface PdfEmailProviderInterface
getSentDate
public Date getSentDate()
- Specified by:
getSentDate
in interface PdfEmailProviderInterface
addRecipient
public void addRecipient(int recipientType,
String recipient)
- Specified by:
addRecipient
in interface PdfEmailProviderInterface
addRecipients
public void addRecipients(int recipientType,
String[] recipients)
- Specified by:
addRecipients
in interface PdfEmailProviderInterface
addAttachment
public void addAttachment(String attachmentFilePath,
String attachmentName)
- Specified by:
addAttachment
in interface PdfEmailProviderInterface
addAttachment
public void addAttachment(InputStream attachment,
String attachmentMimeType,
String attachmentName)
- Specified by:
addAttachment
in interface PdfEmailProviderInterface
addAttachment
public void addAttachment(byte[] attachment,
String attachmentMimeType,
String attachmentName)
- Specified by:
addAttachment
in interface PdfEmailProviderInterface
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface PdfEmailProviderInterface
setDebugEnabled
public void setDebugEnabled(boolean debugEnabled)
- Specified by:
setDebugEnabled
in interface PdfEmailProviderInterface
sendEmail
public void sendEmail()
throws PdfEmailException
- Specified by:
sendEmail
in interface PdfEmailProviderInterface
- Throws:
PdfEmailException
To contact our support team, send an e-mail to support@gnostice.com.
© 2015 Gnostice Information Technologies Private Limited. All rights reserved.
www.gnostice.com