|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The ISMTPOptions interface allows you to set the global or schedule options to an SMTP email address.
| Nested Class Summary | |
static interface |
ISMTPOptions.CeSMTPAuthentication
Specifies the authentication type to use against the SMTP server. |
| Method Summary | |
IAttachments |
getAttachments()
Returns the collection used to add, delete, and modify attachments. |
java.util.List |
getCCAddresses()
Returns the collection used to add, delete, and modify CC recipients.
|
java.lang.String |
getDomainName()
Returns the name of the domain where the SMTP server is located. |
java.lang.String |
getMessage()
Returns the message portion of the email message. |
int |
getPort()
Returns the port the SMTP server is attached to. |
java.lang.String |
getSenderAddress()
Returns the address of the sender. |
java.lang.String |
getServerName()
Returns the Host the SMTP Server is running on. |
int |
getSMTPAuthenticationType()
Returns the type of authentication to use. |
java.lang.String |
getSMTPUserName()
Returns the user name needed to connect to the SMTP server. |
java.lang.String |
getSubject()
Returns the subject portion of the email message. |
java.util.List |
getToAddresses()
Returns the collection used to add, delete, and modify To recipients.
|
boolean |
isAttachmentsEnabled()
Returns whether or not using email attachments is enabled. |
boolean |
isSMTPPasswordNotEmpty()
Returns a boolean indicating whether the password is set and not empty. |
boolean |
isSMTPPasswordSet()
Returns a boolean indicating whether the password is set. |
void |
setAttachmentsEnabled(boolean bEnabled)
Sets whether or not using email attachments is enabled. |
void |
setDomainName(java.lang.String sVal)
Sets the name of the domain where the SMTP server is located. |
void |
setMessage(java.lang.String sVal)
Sets the message portion of the email message. |
void |
setPort(int iVal)
Sets the port the SMTP server is attached to. |
void |
setSenderAddress(java.lang.String sVal)
Sets the address of the sender. |
void |
setServerName(java.lang.String sVal)
Sets the Host the SMTP Server is running on. |
void |
setSMTPAuthenticationType(int iVal)
Sets the type of authentication to use. |
void |
setSMTPPassword(java.lang.String sVal)
Sets the password needed to connect to the SMTP server. |
void |
setSMTPUserName(java.lang.String sVal)
Sets the user name needed to connect to the SMTP server. |
void |
setSubject(java.lang.String sVal)
Sets the subject portion of the email message. |
| Method Detail |
public java.lang.String getDomainName()
throws SDKException
Returns the name of the domain where the SMTP server is located.
String containing the name of the domain where the SMTP server is
located.
SDKException - This is thrown if the process is unsuccessful.public void setDomainName(java.lang.String sVal)
Sets the name of the domain where the SMTP server is located.
sVal - A String containing the name of the domain where the SMTP server is
located.
public java.lang.String getServerName()
throws SDKException
Returns the Host the SMTP Server is running on.
String containing the Host the SMTP Server is running on.
SDKException - This is thrown if the process is unsuccessful.public void setServerName(java.lang.String sVal)
Sets the Host the SMTP Server is running on.
sVal - A String containing the Host the SMTP Server is running on.
public int getPort()
throws SDKException
Returns the port the SMTP server is attached to. The default is 25.
int specifying the port the SMTP server is attached to.
SDKException - This is thrown if the process is unsuccessful.public void setPort(int iVal)
Sets the port the SMTP server is attached to. The default is 25.
iVal - An int specifying the port the SMTP server is attached to.
public int getSMTPAuthenticationType()
throws SDKException
Returns the type of authentication to use.
int specifying the type of authentication to use. This will be
of type CeSMTPAuthentication.
SDKException - This is thrown if the process is unsuccessful.ISMTPOptions.CeSMTPAuthenticationpublic void setSMTPAuthenticationType(int iVal)
Sets the type of authentication to use.
iVal - An int specifying the type of authentication to use. This should
be of type CeSMTPAuthentication.ISMTPOptions.CeSMTPAuthentication
public java.lang.String getSMTPUserName()
throws SDKException
Returns the user name needed to connect to the SMTP server.
String containing the user name needed to connect to the
SMTP server.
SDKException - This is thrown if the process is unsuccessful.public void setSMTPUserName(java.lang.String sVal)
Sets the user name needed to connect to the SMTP server.
sVal - A String containing the user name needed to connect to the
SMTP server.public void setSMTPPassword(java.lang.String sVal)
Sets the password needed to connect to the SMTP server.
sVal - A String containing the password needed to connect to the SMTP
server.
public boolean isSMTPPasswordSet()
throws SDKException
Returns a boolean indicating whether the password is set.
true if the password is set, false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public boolean isSMTPPasswordNotEmpty()
throws SDKException
Returns a boolean indicating whether the password is set and not empty.
true if the password is set and not empty, false otherwise.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String getSenderAddress()
throws SDKException
Returns the address of the sender.
String containing the address of the sender.
SDKException - This is thrown if the process is unsuccessful.public void setSenderAddress(java.lang.String sVal)
Sets the address of the sender.
sVal - A String containing the address of the sender.
public java.util.List getToAddresses()
throws SDKException
Returns the collection used to add, delete, and modify To recipients.
List containing the collection used to add, delete, and
modify To recipients. This List contains String objects.
SDKException - This is thrown if the process is unsuccessful.
public java.util.List getCCAddresses()
throws SDKException
Returns the collection used to add, delete, and modify CC recipients.
List containing the collection used to add, delete, and
modify CC recipients. This List contains String objects.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String getSubject()
throws SDKException
Returns the subject portion of the email message.
String containing the subject portion of the email message.
SDKException - This is thrown if the process is unsuccessful.public void setSubject(java.lang.String sVal)
Sets the subject portion of the email message.
sVal - A String containing the subject portion of the email message.
public java.lang.String getMessage()
throws SDKException
Returns the message portion of the email message.
String containing the message portion of the email message.
SDKException - This is thrown if the process is unsuccessful.public void setMessage(java.lang.String sVal)
Sets the message portion of the email message.
sVal - A String containing the message portion of the email message.
public IAttachments getAttachments()
throws SDKException
Returns the collection used to add, delete, and modify attachments.
IAttachments object containing the collection used to
add, delete, and modify attachments.
SDKException - This is thrown if the process is unsuccessful.
public boolean isAttachmentsEnabled()
throws SDKException
Returns whether or not using email attachments is enabled.
true if using email attachments is enabled,
and false otherwise.
SDKException - This is thrown if the process is unsuccessful.public void setAttachmentsEnabled(boolean bEnabled)
Sets whether or not using email attachments is enabled.
bEnabled - true if using email attachments is enabled,
and false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||