Item name |
Required / Optional |
Use of Variables |
Description |
Remarks |
Authentication mode |
Required |
Not available |
Select the authentication mode when sending mail.
- [None]:(default)
No authentication.
- [POP before SMTP]:
Before sending authentication to POP3.
- [SMTP AUTH (LOGIN)]:
Use SMTP AUTH (LOGIN) to authenticate the system.
|
- If [POP before SMTP] is selected, connection timeout for POP server is 15 seconds.
|
Hostname |
Required |
Available |
Enter POP mail server host name or the IP address. |
- Enabled when [Authentication mode] to [POP before SMTP] is selected.
|
Port number |
Required |
Available |
Enter the POP port number to access the mail server. |
- The default value is "110".
- Enabled when [Authentication mode] to [POP before SMTP] is selected.
|
User name |
Required |
Available |
Enter a user name for SMTP AUTH or to access to POP mail server. |
- Enabled when [POP before SMTP] or [SMTP AUTH (LOGIN)] is selected in [Authentication mode].
|
Password |
Required |
Available |
Enter a password for SMTP AUTH or to access to POP mail server. |
- Enabled when [POP before SMTP] or [SMTP AUTH (LOGIN)] is selected in [Authentication mode].
|
SSL connection |
Optional |
Not available |
Select whether to make the SSL connection to POP mail server.
- [Checked]:
Make SSL connections.
- [Not Checked]: (default)
Do not make SSL connections.
|
- Enabled when [POP before SMTP] is selected in [Authentication mode].
- SSL/TLS is used for SSL connection.
- If [Checked] is selected, the certificate of the POP3 server must be imported to the keystore which DataSpiderServista is referring to.
For information regarding how to import to the keystore, refer to "Import of certificate".
|
Component variable name |
Description |
Remarks |
count |
Returns the number of messages sent. |
- The value defaults to null.
|
message_category |
Stroes the category to which corresponding message code belongs to, when an error occurs. |
- The value defaults to null.
|
message_code |
Stores its corresponding message code of occured error. |
- The value defaults to null.
|
message_level |
Stores the severity of the corresponding message code of the occured error. |
- The value defaults to null.
|
error_type |
Returns the error type when error occurred. |
- The value defaults to null.
- Error is represented in the format depicted below.
Example:java.io.FileNotFoundException
The message may vary depending on the DataSpider Servista version.
|
error_message |
Return the error message when error occurred. |
- The value defaults to null.
The message may vary depending on the DataSpider Servista version.
|
error_trace |
Return trace information when error occurred. |
- The value defaults to null.
The message may vary depending on the DataSpider Servista version or the client application used.
|
Exception Name |
Causes |
Solution |
ResourceNotFoundException Resource definition could not be found.Name:[] |
[Destination] is not specified. |
Please specify [Destination] . |
ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Destination] is not found. |
Please check the global resource specified in [Destination] |
InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. |
Specify the [<Property name>] . |
RecipientsNotFoundException |
[Destination] is wrong. |
Check the following.
- [Destination] that is configured with one or more
- [Destination / Type] correctness
- [Send / mail address] is entered.
- [Send / mail address] does not contain any multi-byte characters.
|
java.io.UnsupportedEncodingException |
Encoding set to [Encoding] is not supported. |
Please check the specified encoding in [Encoding] . |
javax.mail.AuthenticationFailedException: |
[User name] or [Password] is incorrect. |
Check [User name] and [Password] . |
com.sun.mail.util.MailConnectException: ConnectException |
[Hostname] failed to connect to the specified host. |
Check that you are not wrong about [Hostname], [Port number] .
Check whether services are provided in the specified host specified in [Hostname]. |
com.sun.mail.util.MailConnectException: UnknownHostException |
[Hostname] not found . |
Please check the host name specified with [Hostname]. |
javax.mail.SendFailedException
|
Failed to send message. |
Check [Send / mail address] .
|
javax.mail.SendFailedException Invalid Addresses |
Failed to send message. |
Check [Send / mail address] .
This exception can happen with a correct email address when the mail server returns an error .
|
com.sun.mail.smtp.SMTPSendFailedException |
Failed to send message. |
Please check the message and take appropriate measures. |
javax.mail.MessagingException: SSLHandshakeException |
It occurs when selected [SSL/TLS] or [STARTTLS] in [SSL Connection] in global resource properties.The reason is that the server certificate registered in Java is different from the one that is used to SSL connection,so the validity cannot be verified. |
Check if the server certificate is registered in JAVA when connecting to SSL server.
If registered,check if the server is the same as the one registered in JAVA and check if the server certificate has expired. |