TemplateEmailSender Emails Being Sent to the Wrong Recipient or Containing Another User's Information
(Doc ID 1038177.1)
Last updated on MAY 04, 2020
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.
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