Gnostice PDFOne
Pro. Ed. v5.4


com.gnostice.pdfone
Class PdfEmailSettings

java.lang.Object
  extended by com.gnostice.pdfone.PdfEmailSettings

public class PdfEmailSettings
extends Object


Field Summary
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
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECIPIENT_TYPE_TO

public static final int RECIPIENT_TYPE_TO
See Also:
Constant Field Values

RECIPIENT_TYPE_CC

public static final int RECIPIENT_TYPE_CC
See Also:
Constant Field Values

RECIPIENT_TYPE_BCC

public static final int RECIPIENT_TYPE_BCC
See Also:
Constant Field Values

EMAIL_SETTINGS_TYPE_GMAIL

public static final int EMAIL_SETTINGS_TYPE_GMAIL
See Also:
Constant Field Values

EMAIL_SETTINGS_TYPE_HOTMAIL

public static final int EMAIL_SETTINGS_TYPE_HOTMAIL
See Also:
Constant Field Values

EMAIL_SETTINGS_TYPE_YAHOO

public static final int EMAIL_SETTINGS_TYPE_YAHOO
See Also:
Constant Field Values
Method Detail

setEmailProvider

public void setEmailProvider(PdfEmailProviderInterface emailProvider)
                      throws PdfEmailException
Throws:
PdfEmailException

getEmailProvider

public PdfEmailProviderInterface getEmailProvider()

applyEmailSettingsType

public void applyEmailSettingsType(int emailSettingsType)
                            throws PdfEmailException
Throws:
PdfEmailException

setUserName

public void setUserName(String userName)

getUserName

public String getUserName()

setPassword

public void setPassword(String password)

getPassword

public String getPassword()

setAuthenticationRequired

public void setAuthenticationRequired(boolean authenticationRequired)

isAuthenticationRequired

public boolean isAuthenticationRequired()

setFromName

public void setFromName(String fromName)

getFromName

public String getFromName()

setFromAddress

public void setFromAddress(String fromAddress)

getFromAddress

public String getFromAddress()

setHost

public void setHost(String host)

getHost

public String getHost()

setPortNumber

public void setPortNumber(int portNumber)

getPortNumber

public int getPortNumber()

setSSLEnabled

public void setSSLEnabled(boolean sslEnabled)

isSSLEnabled

public boolean isSSLEnabled()

isStartTLSEnabled

public boolean isStartTLSEnabled()

setStartTLSEnabled

public void setStartTLSEnabled(boolean startTLSEnabled)

isSSLCheckServerIdentity

public boolean isSSLCheckServerIdentity()

setSSLCheckServerIdentity

public void setSSLCheckServerIdentity(boolean sslCheckServerIdentity)

setReplyTo

public void setReplyTo(String replyTo)

getReplyTo

public String getReplyTo()

setSubject

public void setSubject(String subject)

getSubject

public String getSubject()

setBody

public void setBody(String body)

setBody

public void setBody(String body,
                    String charset,
                    boolean isHTML)

getBody

public String getBody()

setBodyEncoding

public void setBodyEncoding(String bodyMimeType)

getBodyEncoding

public String getBodyEncoding()

setBodyHTML

public void setBodyHTML(boolean isBodyHTML)

isBodyHTML

public boolean isBodyHTML()

setSentDate

public void setSentDate(Date date)

getSentDate

public Date getSentDate()

addRecipient

public void addRecipient(int recipientType,
                         String recipient)

addRecipients

public void addRecipients(int recipientType,
                          String[] recipients)

addAttachment

public void addAttachment(String attachmentFilePath,
                          String attachmentName)

addAttachment

public void addAttachment(InputStream attachment,
                          String attachmentMimeType,
                          String attachmentName)

addAttachment

public void addAttachment(byte[] attachment,
                          String attachmentMimeType,
                          String attachmentName)

setDebugEnable

public void setDebugEnable(boolean debugEnabled)

isDebugEnabled

public boolean isDebugEnabled()

Gnostice PDFOne
Pro. Ed. v5.4

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