|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISMTPOptions
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. |
IDestinationOutputByDocs |
getAttachmentsByDocs()
Attachments personalized for individual source documents. |
java.util.List |
getBCCAddresses()
Returns the collection used to add, delete, and modify BCC recipients. |
java.util.Set |
getBCCRecipients()
Returns the collection used to add, delete, and modify BCC recipients as Enterprise users or user groups. |
java.util.List |
getCCAddresses()
Returns the collection used to add, delete, and modify CC recipients. |
java.util.Set |
getCCRecipients()
Returns the collection used to add, delete, and modify CC recipients as Enterprise users or user groups. |
java.lang.String |
getDelimiter()
Returns the email addresses delimiter sent to the mail server, default to semicolon |
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. |
boolean |
getSkipMimeHeaders()
|
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. |
java.util.Set |
getToRecipients()
Returns the collection used to add, delete, and modify To recipients as Enterprise users or user groups. |
boolean |
isAttachmentsEnabled()
Returns whether or not using email attachments is enabled. |
boolean |
isBCCAddressesSet()
Indicates whether the collection of BCC recipients exists. |
boolean |
isBCCRecipientsSet()
Indicates whether the collection of BCC Enterprise recipients exists. |
boolean |
isCCAddressesSet()
Indicates whether the collection of CC recipients exists. |
boolean |
isCCRecipientsSet()
Indicates whether the collection of CC Enterprise recipients exists. |
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. |
boolean |
isSslEnabled()
Returns a boolean to indicate if the SSL is enabled. |
boolean |
isToAddressesSet()
Indicates whether the collection of To recipients exists. |
boolean |
isToRecipientsSet()
Indicates whether the collection of To Enterprise recipients exists. |
void |
setAttachmentsEnabled(boolean bEnabled)
Sets whether or not using email attachments is enabled. |
void |
setDelimiter(java.lang.String sVal)
Sets the email addresses delimiter sent to the mail server. |
void |
setDomainName(java.lang.String sVal)
Sets the name of the domain where the SMTP server is located. |
void |
setEnableSsl(boolean bEnabled)
Sets SSL to boolean value: true if enabled and false if disabled. |
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 |
setSkipMimeHeaders(boolean skip)
|
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. |
| Methods inherited from interface com.crystaldecisions.sdk.plugin.destination.common.IDestinationScheduleOptions |
|---|
getInputFiles |
| Method Detail |
|---|
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.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.
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.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.
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.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.
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.CeSMTPAuthenticationvoid 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
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.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.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.
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.
boolean isSslEnabled()
throws SDKException
Returns a boolean to indicate if the SSL is enabled.
true if the SSL is enabled, false otherwise.
SDKException - This exception is thrown if the process is unsuccessful.void setEnableSsl(boolean bEnabled)
Sets SSL to boolean value: true if enabled and false if disabled.
bEnabled - true, if SSL is enabled,
and false otherwise.
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.
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.void setSenderAddress(java.lang.String sVal)
Sets the address of the sender.
sVal - A String containing the address of the sender.
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.boolean isToAddressesSet()
Indicates whether the collection of To recipients exists. Calls to getToAddresses() will create this collection, thus when a destination is sent the server defaults for To recipients will be overriden. To avoid unnecessarily creating the collection of To recipients, call isToAddressesSet() before determining whether to call getToAddresses().
boolean indicating whether the collection of To recipients exists.
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.boolean isCCAddressesSet()
Indicates whether the collection of CC recipients exists. Calls to getCCAddresses() will create this collection, thus when a destination is sent the server defaults for CC addresses will be overriden. To avoid unnecessarily creating the collection of CC recipients, call isCCAddressesSet() before determining whether to call getCCAddresses().
boolean indicating whether the collection of CC recipients exists.
java.util.List getBCCAddresses()
throws SDKException
Returns the collection used to add, delete, and modify BCC recipients.
List containing the collection used to add, delete, and
modify BCC recipients. This List contains String objects.
SDKException - This is thrown if the process is unsuccessful.boolean isBCCAddressesSet()
Indicates whether the collection of BCC recipients exists. Calls to getBCCAddresses() will create this collection, thus when a destination is sent the server defaults for BCC addresses will be overriden. To avoid unnecessarily creating the collection of BCC recipients, call isBCCAddressesSet() before determining whether to call getBCCAddresses().
boolean indicating whether the collection of BCC recipients exists.
java.util.Set getToRecipients()
throws SDKException
Returns the collection used to add, delete, and modify To recipients as Enterprise users or user groups.
Set containing the collection used to add, delete, and
modify To recipients as Enterprise users or user groups.
This Set contains Integer objects representing
IDs for Enterprise users or user groups
SDKException - This is thrown if the process is unsuccessful.boolean isToRecipientsSet()
Indicates whether the collection of To Enterprise recipients exists. Calls to getToRecipients() will create this collection, thus when a destination is sent the server defaults for To Enterprise recipients will be overriden. To avoid unnecessarily creating the collection of To Enterprise recipients, call isToRecipientsSet() before determining whether to call getToRecipients().
boolean indicating whether the collection of To Enterprise recipients exists.
java.util.Set getCCRecipients()
throws SDKException
Returns the collection used to add, delete, and modify CC recipients as Enterprise users or user groups.
Set containing the collection used to add, delete, and
modify CC recipients as Enterprise users or user groups.
This Set contains Integer objects representing
IDs for Enterprise users or user groups
SDKException - This is thrown if the process is unsuccessful.boolean isCCRecipientsSet()
Indicates whether the collection of CC Enterprise recipients exists. Calls to getCCRecipients() will create this collection, thus when a destination is sent the server defaults for CC Enterprise recipients will be overriden. To avoid unnecessarily creating the collection of CC Enterprise recipients, call isCCRecipientsSet() before determining whether to call getCCRecipients().
boolean indicating whether the collection of CC Enterprise recipients exists.
java.util.Set getBCCRecipients()
throws SDKException
Returns the collection used to add, delete, and modify BCC recipients as Enterprise users or user groups.
Set containing the collection used to add, delete, and
modify BCC recipients as Enterprise users or user groups.
This Set contains Integer objects representing
IDs for Enterprise users or user groups
SDKException - This is thrown if the process is unsuccessful.boolean isBCCRecipientsSet()
Indicates whether the collection of BCC Enterprise recipients exists. Calls to getBCCRecipients() will create this collection, thus when a destination is sent the server defaults for BCC Enterprise recipients will be overriden. To avoid unnecessarily creating the collection of BCC Enterprise recipients, call isBCCRecipientsSet() before determining whether to call getBCCRecipients().
boolean indicating whether the collection of BCC Enterprise recipients exists.
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.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.
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.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.
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.
IDestinationOutputByDocs getAttachmentsByDocs()
throws SDKException
IDestinationOutputPerDoc
which, in this case, represents a attachment collection of type IAttachment.
SDKException
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.void setAttachmentsEnabled(boolean bEnabled)
Sets whether or not using email attachments is enabled.
bEnabled - true if using email attachments is enabled,
and false otherwise.
java.lang.String getDelimiter()
throws SDKException
Returns the email addresses delimiter sent to the mail server, default to semicolon
String containing the message portion of the email message.
SDKException - This is thrown if the property is not there.void setDelimiter(java.lang.String sVal)
Sets the email addresses delimiter sent to the mail server.
sVal - A String containing the delimiter, usually semincolon or commaboolean getSkipMimeHeaders()
void setSkipMimeHeaders(boolean skip)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||