A reminder of the considerations to take into account when writing the common 'send logs to support' function
- Take Screenshot of the application
- Zip log files
- Assign EmailMessage.Importance = High for Prod
- Subject of email message should have the environment
- Limit max # of emails per minute (to say, 10) to save flood server incase of a bug that gets it into a tight loop
- Don't send messages to entire group when debugging - send to current dev only by using
#if DEBUG
- Get current AD user's email address by using- Take Screenshot of the application
- Zip log files
- Assign EmailMessage.Importance = High for Prod
- Subject of email message should have the environment
- Limit max # of emails per minute (to say, 10) to save flood server incase of a bug that gets it into a tight loop
- Don't send messages to entire group when debugging - send to current dev only by using
#if DEBUG
UserPrincipal.Current.EmailAddress
- Make image attachments inline in the email message by using FileAttachment.ContentId
No comments:
Post a Comment