Silverpop is an marketing service that includes email marketing – both for sending normal email campaign messages, as well as sending transactional emails. This transactional emailing is referred to as Silverpop Transact, which has an XML API available. These transactional messages could be sent as the result of a web application action, such as a new user registration.
You can communicate directly with the XML API yourself. Alternatively, you can use the open source Silverpop .NET API wrapper, which is demonstrated below.
It’s available on NuGet! Simply
1 2 3 4 5 6 7 8 9 10 11 12 13 // Initialize the client. // This method requires configuration to be set. var client = TransactClient.CreateUsingConfiguration(); // Create a simple message. var message = TransactMessage.Create( 123, // TODO: Change this to be your campaign id! TransactMessageRecipient.Create("email@example.com"); // Send the message using the client. // This uses async/await. // Synchronous operations are available too. var response = await client.SendMessageAsync(message);
Messages can also include personalization tags, for adding dynamic content to email messages.
Note: SendMessage/SendMessageAsync are methods for sending messages to 1-10 recipients. For larger numbers of recipients use SendMessageBatch/SendMessageBatchAsync.