Sep 09, 2019 11:32 AM|PatriceSc|LINK
Yes it would be better to send the mail once you are sure data are persisted on the db side.
Not sure how you handle errors duruing the insert. Only the user knows something wrong happened? By default exceptions are written to the Windows event log and you should perhaps check that to find and possibly fix your insert issue.