.Net Campaign Send

Hi There ,

I am using .net create_sent api for sending emails using Campaign Monitor API.
I am not able to get Campaigns for particular client. I am referring to samples provided by Campaign Monitor.

Please provide me with sample demo for sending emails with templates.

Thanks.

roshodgekiss roshodgekiss, 3 years ago

Hi there vishal, thanks for writing in! Just to ocnfirm, have you been using our CreateFromTemplate method? You can find Campaign.cs, including a CreateFromTemplate sample on GitHub.

If you find this sample isn't proving to be useful, please post your code here, or contact our team and we'll happily take a look at what's happening here.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
vishal.dhabade, 3 years ago

Thanks for you quick reply.

Consider that we have already created templates on the Campaign Monitor.
We just want to use that template to sent mails. How to use them through .net code to send mails to particular mail id?

Please let me know on this.

Thanks!!

vishal.dhabade, 3 years ago

Hi There,

I found that there is send method in the Campaign class. But to get a particular campaign , we need to get CampaignId first. I am not getting CampaignId for a client.

Please help me on this.

Thanks!!

roshodgekiss roshodgekiss, 3 years ago

Hi there Vishal, I assume you mean the Campaign ID when you mention the Mail ID? The Campaign ID is returned when you create a new campaign draft, either from a template, or otherwise. You can also get the Campaign ID by using the draft campaigns method for a given client - it's within Client.cs.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098