Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone,
I have a web application in which we track peoples on the basis of there hobbies.
Whenever someone changes his or her hobby a mail has been sent to him, admin and few other peoples on the basis of there roles.
Now I want to create a test user for whom if his/her hobbies are changed, emails to admin should not roll out. Can anyone tell me any way of doing the same without coding. Most important thing is I want to do this without coding anything. Otherwise I could have easily added a key in web config and I could have checked it from every place but I don't want this.
Please suggest some alternative way I could or can achieve.
Thanks
Posted

Still the mails will be rolled out if I assign new hobbies to him. I basically want to create a test user which can be used for testing purpose.
 
Share this answer
 
Comments
Aarti Meswania 14-Mar-13 4:50am    
use "Have a Question or Comment?" button given below the answer if you want to ask doubts about specific answer
Aarti Meswania 14-Mar-13 4:52am    
"Still the mails will be rolled out if I assign new hobbies to him. I basically want to create a test user which can be used for testing purpose."

means? what do you want to stop mails for admin? if it is then simply check the role of user if it is admin then do not fire mail
just create user which have all rights

Happy Coding!
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900