I have a windows service that runs everyday . In that i am getting the name and email from the database .
I am trying to insert the subscribers using CampaignMonitorAPIWrapper.Subscriber.Add method . But it is not working. It is working if i call this method in aspx page.
Could you please tell me how to use this Campaingnmonitor in Windows service.
The process for calling the API should be no different whether you're doing so from a service or from the codebehind of an aspx page.
The difference could be related to network configuration (is your service behind a firewall?) but it's hard for us to know what "it is not working" actually means. In what way is the API call failing? Are you logging any exceptions?
Perhaps contact us at support with a little bit more information (including your account name, the relevant lines of source, and any exception information), and we can look into it there.
Thank you so much. I have achieved adding subscribers by calling a external aspx page. Could please tell me network configuration what are the to be checked.