F1-EmailService Adding Retry Function When Reports An error If This Fails
(Doc ID 2019509.1)
Last updated on SEPTEMBER 14, 2022
Applies to:Oracle Utilities Framework - Version 126.96.36.199.0 to 188.8.131.52.0 [Release 4.2]
Information in this document applies to any platform.
**Disclaimer:** This KM article may include the following abbreviations:
SMTP - Simple Mail Transfer Protocol
OUAF/FW - Oracle Utilities Framework
On : 184.108.40.206.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:<PORT>;" "Caused by:
java.net.ConnectException: Connection timed out"
This issue happened occasionally, and if customer send Email manually, it always be succeed.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document