Get a mop and wipe it up!


How to get your Windows Azure hosted WordPress contact form working

, posted: 9-Mar-2014 12:22

I'm building a WordPress ecommerce website, and hosting it in Windows Azure. My contact form would not send email, despite everything appearing to be configured correctly.


In your Azure portal:
1. From the Gallery, install SendGrid for your Azure region. (It is free for up to 25,000 emails per month.)
2. Configure your Account Settings.
3. Click on Connection Info to see your Username and Password. We will use this later.

In your WordPress Dashboard:
1. Install Swift Mailer plug-in for WordPress. Ignore the warning that it hasn't been tested with the latest version of WP.
2. Install the SendGrid plug-in for WordPress.
3. Click on SendGrid Settings and enter the Username and Password from the Azure Connection Info (above). I chose "API" for sending mail.
4. Add appropriate Mail settings. Eg your website name for Name, and an email address within your domain for Sending Address.
5. Click on Update Settings.
6. Send a test email (on the same Settings page).

This worked for me. Good luck!


Tag(s):         


Other related posts:
NuPeek - a local NuGet and Symbol Server for .NET
Caliburn.Micro for Newbies Who Want to Write Clean WP7 Apps - Part 1: How to Configure a New Project With Folders
Bitwise testing in C#








Comment by Jacklyn, on 23-May-2014 10:54

Can I simply just say what a comfort to discover
somebody who really understands what they're discussing online.
You definitely understand how to bring a problem to light and make it important.
More people must check this out and understand this side of
the story. I can't believe you aren't more popular since you surely have
the gift.


Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and placed in the moderation queue for the blog owner's approval.

Your name:

Your e-mail:

Your webpage:

dmw's profile

David White
Auckland
New Zealand


Goon fan, .NET developer, contrarian seeker of truth