Developer forum

Forum » Development » Email Marketing c# API

Email Marketing c# API

Jonas Mersholm
Reply

Hi there. I have been searching around using the IntelliSense for the last 30 minutes, but havent had any luck so far.

Is there c# api's for the Email Marketing system, so that i can send emails from the module? 

I am trying to make an automated email sending, every week, but cant find any informations on an API or any methods what so ever.

 

best regards.

Jonas


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Jonas,

Yes, there is an API for E-mail Marketing. It is located in the Dynamicweb.Modules assembly, so in order for you to see it, you need to reference that from your project.

Once you have the correct reference, you can find the API in the namespace "Dynamicweb.Modules.EmailMarketing". The class, you need is the "Email" class. You need to specify scheduling info and repeat interval. Then you need to "CreateEmailScheduledTask".

- Jeppe

 
Jonas Mersholm
Reply

Great Jeppe! Thank you, must have been an old assembly i was using. 

 

I will try this out :)

 

You must be logged in to post in the forum