I have one Sitecore Register Form (not with WFFM). When user Register, I am trying to send confirmation email. However, somehow this is not working for the first time. My contact is not receiving verification email.
This is what briefly I am doing
- Identify contact using identify method
- Set preferred email address by setting up Facet on contact if not already set
- and then use EXM send standard message passing message id and current contact.
I suspect this is because there is no Facet is stored in Mongo contact for the first time. At least I did not see using Robo Mongo. After Session End Contact data will be flushed to Mongo. When visitor does registration again, this time contact has Email Facet and able to receive registration email.
Appreciate any help on this