Created
February 1, 2016 20:25
-
-
Save jonhilt/4c5521a4ae55100230c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var client = QueueClient.CreateFromConnectionString(connectionString, "send-email-queue"); | |
var sendEmailCommand = new SendEmailCommand { | |
Subject = "Email from contact us page", | |
Body = "Hi, please can you send me more details about the super email sender", | |
CustomerEmail = "jon@azureinsights.net" | |
}; | |
client.Send(new BrokeredMessage(sendEmailCommand)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment