Xojo Plugin
Xojo Plugin
Transition from MailMan.GetFullEmail to MailMan.FetchFull
Provides instructions for replacing deprecated GetFullEmail method calls with FetchFull.Chilkat Xojo Plugin Downloads
Dim success As Boolean
success = False
Dim mailman As New Chilkat.MailMan
// ...
// ...
// Assume the email header was previously downloaded using some other Chilkat method...
Dim emailHeader As New Chilkat.Email
// ------------------------------------------------------------------------
// The GetFullEmail method is deprecated:
Dim fullEmailObj As Chilkat.Email
fullEmailObj = mailman.GetFullEmail(emailHeader)
If (mailman.LastMethodSuccess = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using FetchFull.
// Your application creates a new, empty Email object which is passed
// in the last argument and filled upon success.
Dim fullEmail As New Chilkat.Email
success = mailman.FetchFull(emailHeader,fullEmail)
If (success = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If