Async consumer to generate reports and send them by email using MSMQ as queuing service
Make sure to have MSMQ installed. To do so, reach to windows resources and add MSMQ:
After installing, to check your Queues go to Computer Management and you'll be able to check your queues
- Works as a windows console app
- Check periodically MSMQ for new entries
- Process message request
- Parse a report viewer XLS
- Send XLS via email using SMTP
The end result is something like this: