Halcyon
Halcyon

Reputation: 14971

Using ELMAH To Send A Daily Digest Email

I've searched online to see if ELMAH can send daily emails and from the reading I've done, the developers say to use the RSS feed instead of emails. See this post for details. My company wants a daily email sent using ELMAH. Does anyone know if this is possible or of any workarounds for sending daily emails with ELMAH?

Upvotes: 2

Views: 775

Answers (1)

Icarus
Icarus

Reputation: 63956

Where do your log your errors to? Database/ File / RAM? I would imagine that, for all of the back-end storages supported by ELMAH, except RAM, you could easily write a console app to send this daily email summary that you want.

For what is worth, look at the System.Net.Mail.MailMessage and System.Net.Mail.SmtpClient classes on MSDN.

Upvotes: 4

Related Questions