IsInline Property
True, if the attachment is an inline object
(such as image related in html-formatted body), and False if the attachment
was explicitly attached to the message (such as attached zip file).
Inline objects are used to correctly display message body (images, sounds, style-sheets,
javascripts, etc.), while non-inline objects usually correspond to documents,
archives, programs (n.b.: all files considered to be attachments from user's
point of view).
Value Type: | Boolean | |
Parameters: | None | |
Remarks: | This property is read-only |
Usage example:
Dim Mailer, Msg, Attach '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 For Each Attach In Msg.Attachments If Attach.IsInline Then MsgBox "Inline Attachment (related in the message body)" Else MsgBox "Ordinary Attachment (attached by the user)" End If Next End If End If Mailer.Disconnect End If
See Also:
Filename
Property
PureContentID Property
SaveFile Method
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.