F1-EmailService Adding Retry Function When Reports An error If This Fails

(Doc ID 2019509.1)

Last updated on JUNE 15, 2015

Applies to:

Oracle Utilities Framework - Version 4.2.0.1.0 to 4.2.0.2.0 [Release 4.2]
Information in this document applies to any platform.

Symptoms

On : 4.2.0.1.0 Framework version

Sometimes customer's SMTP host has an issue and therefore F1-EmailService causes an error exception.

 The F1-EmailService assumes that smtp sever is always avaialble but sometimes it's not, due to all the connections being used up.

 Clients suggestion was to add the following:
 1. ability to handle retrying itself
 2. ability to resend any failed messages
 3. give an error message if retrying is not possible

 ------------

 Issue in log file:
  "javax.mail.MessagingException: Could not connect to SMTP host:
 wmailscan.westernpower.com.au, port: 25;" "Caused by:
 java.net.ConnectException: Connection timed out"

 This issue happened occasionally, and if customer send Email manually, it always be succeed.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Sometimes customer's SMTP host has an issue
2. F1-EmailService causes an error exception.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms