TemplateEmailSender Emails Being Sent to the Wrong Recipient or Containing Another User's Information
Last updated on JULY 02, 2018
Applies to:Oracle Commerce Platform - Version 2006.3 and later
Information in this document applies to any platform.
When sending emails via Oracle ATG, one or more of the following happens:
- Recipients are receiving the wrong email or another user's email
- Some recipients are getting too many emails while others are missing emails
- Emails sent have "mixed" data from different users (e.g. the order id is correct, by the user first name is someone else's).
When you have this issue, you can see a race condition under sufficient load that won't be detectable under simple test cases because you need multiple threads executing the code concurrently to see the issue.
This would typically involve ATG's TemplateEmailSender component, but could happen with other components. When it involves TemplateEmailSender, this problem may be resolved with runInSeparateThread=false .
This is not an appropriate workaround as most sites cannot handle the performance hit of not queuing emails and sending them in another thread.
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