Xojo Plugin
Xojo Plugin
Transition from MailMan.LoadXmlString to EmailBundle.LoadXmlString
Provides instructions for replacing deprecated LoadXmlString method calls with EmailBundle.LoadXmlString.Chilkat Xojo Plugin Downloads
Dim success As Boolean
success = False
Dim mailman As New Chilkat.MailMan
// ...
// ...
Dim xmlBundleStr As String
xmlBundleStr = "..."
// ------------------------------------------------------------------------
// The LoadXmlString method is deprecated:
Dim bundleObj As Chilkat.EmailBundle
bundleObj = mailman.LoadXmlString(xmlBundleStr)
If (mailman.LastMethodSuccess = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using EmailBundle.LoadXmlString.
Dim bundle As New Chilkat.EmailBundle
success = bundle.LoadXmlString(xmlBundleStr)
If (success = False) Then
System.DebugLog(bundle.LastErrorText)
Return
End If