http://blog.smarx.com/posts/emailtheinternet-com-sending-and-receiving-email-in-windows-azure explains how to listen on a port for incoming email.
I want to grab the ema
There is no such thing as an email sent to my azure website
!
E-mails follow different path from the HTTP traffic. And this is controlled by the DNS entries. Your mycompany.com
domain may be WEB hosted in Azure WebSites, while the mails for anyone@mycompany.com
be handled by Google Apps for Business for instance. Which server handles the e-mails for your domain is controlled by the MX records for that domain.
Moreover e-mail runs on ports quite different from the Web Traffic.
Having said that, I want to assure you that no e-mail will ever reach your application hosted in Azure Web Sites.
What you can do is any of the following:
The concrete implementation of any of the suggested approaches can be found with a simple Internet search.