Sample code for 30+ languages & platforms
Classic ASP

Transition from MailMan.GetFullEmail to MailMan.FetchFull

Provides instructions for replacing deprecated GetFullEmail method calls with FetchFull.

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
success = 0

set mailman = Server.CreateObject("Chilkat.MailMan")

' ...
' ...

' Assume the email header was previously downloaded using some other Chilkat method...
set emailHeader = Server.CreateObject("Chilkat.Email")

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

' fullEmailObj is a Chilkat.Email
Set fullEmailObj = mailman.GetFullEmail(emailHeader)
If (mailman.LastMethodSuccess = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( mailman.LastErrorText) & "</pre>"
    Response.End
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.

set fullEmail = Server.CreateObject("Chilkat.Email")
success = mailman.FetchFull(emailHeader,fullEmail)
If (success = 0) Then
    Response.Write "<pre>" & Server.HTMLEncode( mailman.LastErrorText) & "</pre>"
    Response.End
End If


%>
</body>
</html>