SpecialBodyText Property


Contains the non-standard body of the message.

Usually e-mail messages contain plain-text and/or HTML bodies. However, they may also contain text bodies of non-standard types such as text/calendar (vCal items). You can use this property to get or set the body of such kind.

To get the type of such body, use SpecialBodyContentType property.

If the message does not have such body, this value is an empty string.


Value Type: String
Parameters: None 

Usage example:

Dim Mailer, Msg
'Using visual basic to create object
Set Mailer = CreateObject("MailBee.POP3")
'Using ASP to create object
'Set Mailer = Server.CreateObject("MailBee.POP3")
'In ASP use Response.Write instead of MsgBox
Mailer.LicenseKey = "put your license key here"
Mailer.Connect "mailserver.com", 110, "MyName", "MyPassword"
If Mailer.Connected Then
   If Mailer.MessageCount > 0 Then
      Set Msg = Mailer.RetrieveSingleMessage(1)
      If Not Msg Is Nothing Then MsgBox "Special body = " & Msg.SpecialBodyText
   End If
   Mailer.Disconnect
End If

See Also:

SpecialBodyContentType Property
SpecialBodyHeaders Property


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.