I am using the createsend-dotnet-1.0.15.dll in my console application and able to create the campaign with no issues, however the segments are failing to be added and including all subscribers on the list: Below is the code:
List<string> Lists = new List<string>();
List<string> Segments = new List<string>();
string result = Campaign.Create( "699f484ce4e3c207287b4b15db43769e", "Test Campaign15", "Test_Campaign15", "Gid", "email@example.com", "firstname.lastname@example.org", "http://saltlake.com/mailers/e-preview/11_e-preview/email_ad_100411.htm", "http://saltlake.com/mailers/e-preview/11_e-preview/email_ad_100411.htm", Lists, Segments);
Any help would be appreciated.
Campaigns will be sent to the entirety of any included listIDs. Your Lists do include a ListID, so that's why it's being included. If you only want to include the segments, just leave Lists empty. The segmentIDs are sufficient by themselves.
Just lost 2 hours of my life. This should be explained in the create.php sample
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that drive real business results.Get started for free