I'm thinking of allowing users to upload files via email to an app on Windows Azure. Is there a way to do this?
Windows Azure cannot receive any emails nor can you host an email server on Azure. You can host an emailserver yourself and automatically upload the attachments of a received email to Azure.
I would run a mail server outside of Azure and then have your Azure application retrieve messages via POP.
We are doing the exact same thing also, uploading files via email and for the front-end using Azure. The problem now is that Azure does not support smtp server.
What we do is that we host our own exchange server, and write an interceptor(SmtpReceiveAgent) to process the incoming messages. If you found other solutions please let me know.
Thanks!
Just found out that this is possible by running your SMTP server on a worker role. You can specify an InputEndpoint on port 25 on the worker role. For more details, have a look at http://microsoftpdc.com/Sessions/SVC16
keep in mind what he said about azure getting filter out eventually because of spammers, so he recommends using another services such as sendgrid to send emails....