Title:
It would be nice if a CFMail inside a Transaction wouldn't send until the transaction is complete
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)
Created: 11/14/2013
Components: Database
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 3
transaction{
mailService.sendMail(...);
logService.logSomething(...);
}
If the logService throws an exception, the email has already been sent. It would be a really nice language feature if the transaction had to be complete before the email would send, and it would not send the message if an exception occurred or the transaction was manually rolled back.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3667881
External Customer Info:
External Company:
External Customer Name: Adam Tuttle
External Customer Email:
External Test Config: n/a
Attachments:
Comments: