Sample code for 30+ languages & platforms
Visual Basic 6.0 Requires Chilkat v11.0.0+

Transition from MailMan.GetFullEmail to MailMan.FetchFull

Provides instructions for replacing deprecated GetFullEmail method calls with FetchFull.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim success As Long
success = 0

Dim mailman As New ChilkatMailMan

'  ...
'  ...

'  Assume the email header was previously downloaded using some other Chilkat method...
Dim emailHeader As New ChilkatEmail

'  ------------------------------------------------------------------------
'  The GetFullEmail method is deprecated:

Dim fullEmailObj As ChilkatEmail
Set fullEmailObj = mailman.GetFullEmail(emailHeader)
If (mailman.LastMethodSuccess = 0) Then
    Debug.Print mailman.LastErrorText
    Exit Sub
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 ChilkatEmail
success = mailman.FetchFull(emailHeader,fullEmail)
If (success = 0) Then
    Debug.Print mailman.LastErrorText
    Exit Sub
End If