VBScript Requires Chilkat v11.0.0+
VBScript
Transition from MailMan.FetchMultipleMime to MailMan.FetchMimeBd
Provides instructions for replacing deprecated FetchMultipleMime method calls with FetchMimeBd. The code below uses the replacement API without constructing the deprecated returned array.Chilkat VBScript Downloads
success = 0
set mailman = CreateObject("Chilkat.MailMan")
' ...
' ...
set stUidls = CreateObject("Chilkat.StringTable")
success = stUidls.Append("aaa")
success = stUidls.Append("bbb")
success = stUidls.Append("ccc")
' Replace the deprecated FetchMultipleMime method using FetchMimeBd.
success = 0
set bdMime = CreateObject("Chilkat.BinData")
numUidls = stUidls.Count
i = 0
Do While i < numUidls
success = mailman.FetchMimeBd(stUidls.StringAt(i),bdMime)
' ...
' ...
i = i + 1
Loop