Hello,
we are trying this code fragment in an ASP page (of course strings in angular brackets are placeholders) :
dim ObjMemList,result
Set ObjMemList = server.CreateObject("MEAOLS.ListMember")
ObjMemList.AccountName = "<valid postoffice name>"
ObjMemList.ListName = "<valid list name>"
ObjMemList.ListMemberType = 0
ObjMemList.Status = 1
ObjMemList.Address = "[SMTP:<valid email address>]"
result = ObjMemList.AddListMember()
response.write "result: " & result
The page returns 1 as result but the specified address is not added to the list (the console doesn't show it at least).
We are using ME Pro 4.16.
What's wrong?
Thanks,
Mario
AddListMember not working in ASP page
-
- Site Admin
- Posts: 4441
- Joined: Tue Jun 25, 2002 3:03 am
- Location: Melbourne, Victoria Australia
Re: AddListMember not working in ASP page
What is contained in the TAB file under the config directory for the given list.
You will find it under the CONFIG/POSTOFFICE/PostofficeName/... directory.
It will give you more insight as to what is wrong with your entry in the LISTNAME.TAB file. ie: make one via MMC and one via your app and inspect the file to see what differences there are.
You will find it under the CONFIG/POSTOFFICE/PostofficeName/... directory.
It will give you more insight as to what is wrong with your entry in the LISTNAME.TAB file. ie: make one via MMC and one via your app and inspect the file to see what differences there are.
Regards, Andrew