Joined: 20 Jun 2011 Posts: 3 Location: Mumbai, India
Posted: Mon Jun 20, 2011 3:01 pm Post subject: Common Mailer Template for different Procedure ! Need Help!
I need to put in a mail step in each procedure of my System to let the user know of successful run or unsuccessful run. There are 7 Procedures. So If I go the normal way, I will need seven datasets to prepare seven different mailer templates.
My query is:
Can we have a single mailer template with a common statement and a variable passed in between to pick up that procedure name running at that time In question so that if say Proc A runs and goes successful the mail reads:
The Procedure <ProcName >completed successfully
Where ProcName would be ProcA
ProcName would be a variable passing entity somehow; Can this be achieved ? Any Snippet helping with the same would do a great deal. I need to reduce the Dataset usage since i have around 20 procedures and each +/- step would take me around 40 PS to be made for mailer.
PS : ANy new suggestions would help as well! _________________ ~Saurabh~
Never be stuck in Bathroom during Tsunami; U might just be treated with Shit!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum