Skip to content

✉️ Newsletter tools

Severin Frank edited this page Mar 26, 2019 · 1 revision

Instantly subscribe the clients using:

Campaign Monitor

  1. Install Package
    Use the Our.Orders.Campaignmonitor NuGet package manager inside Visual Studio, Xamarin Studio, or run the following command: Package Manager Console:
PM> Install-Package Our.Orders.Campaignmonitor

.Net CLI:

dotnet add package Our.Orders.Campaignmonitor
  1. Add to startup
public void ConfigureServices(IServiceCollection services, ...)
{
  var campaignMonitorApiKey = "yourAPIKey";
  var campaignMonitorListId = "yourListID";
  ...
  services
    .AddOurOrders()
    ...
    .UseCampaignMonitor(campaignMonitorApiKey, campaignMonitorListId);
  ...
}
  1. Launch the app & test You should now see a floating action in the client detail screen to instantly add the subscriber to your campaign monitor list

Mail Chimp

  1. Install Package
    Use the Our.Orders.mailchimp NuGet package manager inside Visual Studio, Xamarin Studio, or run the following command: Package Manager Console:
PM> Install-Package Our.Orders.mailchimp

.Net CLI:

dotnet add package Our.Orders.mailchimp
  1. Add to startup
public void ConfigureServices(IServiceCollection services, ...)
{
  var mailChimpApiKey = "yourAPIKey";
  var mailChimpListId = "yourListID";
  ...
  services
    .AddOurOrders()
    ...
    .UseMailChimp(mailChimpApiKey, mailChimpListId);
  ...
}
  1. Launch the app & test You should now see a floating action in the client detail screen to instantly add the subscriber to your mailchimp list

Custom newsletter service