Sample code for 30+ languages & platforms
Classic ASP

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
success = 0

set mailman = Server.CreateObject("Chilkat.MailMan")

' ...
' ...

' ------------------------------------------------------------------------
' The GetUidls method is deprecated:

' sa is a Chilkat.StringArray
Set sa = mailman.GetUidls()
If (mailman.LastMethodSuccess = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( mailman.LastErrorText) & "</pre>"
    Response.End
End If

' ...
' ...

' ------------------------------------------------------------------------
' Do the equivalent using FetchUidls.
' Your application creates a new, empty StringTable object which is passed 
' in the last argument and filled upon success.

set st = Server.CreateObject("Chilkat.StringTable")
success = mailman.FetchUidls(st)
If (success = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( mailman.LastErrorText) & "</pre>"
    Response.End
End If


%>
</body>
</html>