Click here to Skip to main content
15,793,452 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,
I have a published web site with the Application_Error event in the Global.asax file to send error mails.
Now I want to stop that mails but I don't have source code. I have only published version.
Is there a way to do this.
Kindly Suggest..

Best Regards

1 solution

I guess you should have kept the source code. If it's compiled to a dll, your only bet is to decompile it and go from there. Or if there's settings for the mail server in the web.config ( tell me you didn't hard code your mail server ? ) then you could change them to stop them that way.
Share this answer
Sandeep Mewara 20-Jul-10 4:02am    
Comment from OP:
Thanks for the quick reply.. I don't have the source code now.
and I don't want to stop all mails form the website.
I just want to disable the global.asax file with out publishing the project again.(Ex: may be some setting in web.config file for this.)

Thank you very much..

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