Skip to content

Instantly share code, notes, and snippets.

@jonhilt
Created February 1, 2016 20:25
Show Gist options
  • Save jonhilt/4c5521a4ae55100230c5 to your computer and use it in GitHub Desktop.
Save jonhilt/4c5521a4ae55100230c5 to your computer and use it in GitHub Desktop.
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