Using Azure Worker Role as Email Processing Server

Windows Azure enables you to be more creative by leveraging web/worker roles, parallelism, queuing, service bus, distributed cache, and a lot more. I just want to share an easy way to delegate the email component to Azure Worker Role and Azure Queue storage. Sending email is a very basic and common scenario for web application. Using SmtpClient directly from your website is simple but it does have some drawbacks. For example if an email is generated during a post back, it sometimes requires lot of data from a database. In such scenario, user may experience a long wait time on their browser. One can solve this by using multi-threads approach to send email asynchronously but that may uses up web role resources.

If this is scenario sounds familiar. You may consider