Send Email from Azure web-site

Topics: Troubleshooting
Oct 9, 2012 at 11:18 PM

This is my first time posting and I wanted to thank you all - Orchard is just a great piece of software.   I was able to get my web-site up and running as an Azure web-site using Orchard, Web Matrix and  SQL Azure.

In case it helps someone else, I wanted to share that I was able to get a Contact Us (email) form working by following the great video on channel 9 http://channel9.msdn.com/Shows/Web+Camps+TV/Sebastien-Ros-Introduces-Orchard-15 and then using SendGrid (free on Azure for the first 25,000 mail messages a month).  The SendGrid folks did a post about how to get SendGrid to work with an Azure web-site (http://blogs.msdn.com/b/windowsazure/archive/2012/09/10/guest-post-getting-started-with-sendgrid-on-windows-azure.aspx ) however they didn't mention orchard.  I was able to get it to work easily by following Sebastian's video and then using the following site settings for Email:

sender email address: any account you like

host name:  smtp.sendgrid.com

port: 25

enable SSL (this must be false)

require credentials (this should be true)

username:  your sendgrid account username

password:  your sendgrid account password

 

Coordinator
Oct 10, 2012 at 12:54 AM

Thanks, I'm sure this will help others.

Feb 3, 2013 at 11:53 PM
Would be good to put this into the documentation, no? I think it would be more accessible than here!
Coordinator
Feb 10, 2013 at 8:31 AM
Please do, it's on Github.