Hi i have an application of sending an card from one employee to other. On page 1:Employee selectes an Card page 2:He fills the info like his name,mail Id ,reciptents mail id ,name etc..
When he clicks on "Send" button the data base table gets updated with the information filled by the person on the page and then the mail is send to the reciptent saying he has recieve an card. Now when there is Exception while sending mail i need to do rollBack for the entry which I recently added. How can I do that , Any suggestion is appreciated. Thanks.