Sample code for 30+ languages & platforms
Xojo Plugin

Transition from MailMan.LoadMime to Email.SetFromMimeText

Provides instructions for replacing deprecated LoadMime method calls with Email.SetFromMimeText.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim mailman As New Chilkat.MailMan

// ...
// ...

Dim mimeText As String
mimeText = "...."

// ------------------------------------------------------------------------
// The LoadMime method is deprecated:

Dim emailObj As Chilkat.Email
emailObj = mailman.LoadMime(mimeText)
If (mailman.LastMethodSuccess = False) Then
    System.DebugLog(mailman.LastErrorText)
    Return
End If

// ...
// ...

// ------------------------------------------------------------------------
// Do the equivalent using Email.SetFromMimeText.

Dim email As New Chilkat.Email
success = email.SetFromMimeText(mimeText)
If (success = False) Then
    System.DebugLog(email.LastErrorText)
    Return
End If