Please find here with the script which can be used for collecting ASPNET errors from Webserver and send Email by making rar of it.
Please follow the give procedure
1) Download the Script
2) edit the following things in Script
A) Search for f:\server_mon in script and change the path as per the the path where you have extratced teh script
e.g. You have extracted the script in d:\server_mon then change f:\ to d:\ ..etc
B) Search for SMTP_USERNAME and give the appropriate server name
C) Search SMTP_EMAIL_FROM and give the appropriate server name
D) Search EMAIL_TO and change the email ids as per Project team members.
E) Search Email_CC and add the TL and Project manager Email ids.
3) Verify on c:\temp folder exists ( required for make zip of error file )
4) schedule the Script job every day at 6.00 PM