Developer forum

Forum » Development » Working with mailing lists

Working with mailing lists


Reply

Accessing DW mailing list...





Is it possible, like it is with the shopping cart, to communicate with the mailing lists in DW?


 


What I'm looking for specificly is to be able to Add/Edit/Remove on the mailing lists - maybe in a fashion like:




-------------------------

(1)


MailingList ml = new MailingList("");



ml.AddReceiver("", "", "");





(2)

MailReceiver mr = ml.GetReceiver("");



mr.email = "";

mr.firstname = "";

mr.lastname = "";



mr.Save();





(3)

ml.RemoveReceiver("");

-----------------------------


Of cause I could contact the database directly but I would prefer to communicate via DW OM/API for mailing list or whatever it's called under the hood.


Replies

 
Reply
Hi, Peter

Have you access to our new module NewsletterV3? It has the features requested. It is in beta state, so, you probably should ask our support about access for this module. And once it is in beta, you have a nice chance to request some common useful extensions to its API.

Vitaly.
 
Reply
vme wrote:

Hi, Peter



Have you access to our new module NewsletterV3? It has the features requested. It is in beta state, so, you probably should ask our support about access for this module. And once it is in beta, you have a nice chance to request some common useful extensions to its API.



Vitaly.

So what you're saying is that no currently existing DW newsletter/mailinglist module expose an API for doing this kind of operations?


 


    

 
Reply
pl@xtendit.dk wrote:

vme wrote:



Hi, Peter







Have you access to our new module NewsletterV3? It has the features requested. It is in beta state, so, you probably should ask our support about access for this module. And once it is in beta, you have a nice chance to request some common useful extensions to its API.







Vitaly.


So what you're saying is that no currently existing DW newsletter/mailinglist module expose an API for doing this kind of operations?




 




    

I'm still interested in the question above but assuming for now that there is no API support at all - I'm guessing that the module handling mailing lists is NewsletterExtended.


 


- If that isn't the case then which module is it?


- Regardless of which module it is, where are these mailing lists kept (database)?


 


If I look in the module table in my local solution, the module NewsletterExtended doesn't have any database or table names associated. 



 
Nicolai Høeg Pedersen
Reply

Hi Peter


 


There is no suitable API for NewsletterExtended which is the module you want to work with.


 


Vitaly refers to Newsletterv3 which has not yet been released so changes willl probably be made so you can not use that yet.


 


The databases and table you need are these.


- Running Access based solution the database is called NewsletterExtended.mdb


- You need 3 tables: NewsletterExtendedRecipient contains the users. NewsletterExtendedCategory contains the newsletter categories and NewsletterExtendedCategoryRecipient holds the track of which users are member of which list - relatively simple.

 
Reply
NP wrote:


Hi Peter




 




There is no suitable API for NewsletterExtended which is the module you want to work with.




 




Vitaly refers to Newsletterv3 which has not yet been released so changes willl probably be made so you can not use that yet.




 




The databases and table you need are these.




- Running Access based solution the database is called NewsletterExtended.mdb




- You need 3 tables: NewsletterExtendedRecipient contains the users. NewsletterExtendedCategory contains the newsletter categories and NewsletterExtendedCategoryRecipient holds the track of which users are member of which list - relatively simple.


Thanks, I had just found the answer myself and wanted to remove this question, but you got to it before I did :)

 

You must be logged in to post in the forum