Internet Direct (Indy)
Home
PreviousUpNext
TIdCreateAttachmentEvent Type

Event type signalled when an attachment is detected while processing a message.

Pascal
TIdCreateAttachmentEvent = procedure (const AMsg: TIdMessage; const AHeaders: TIdStrings; var AAttachment: TIdAttachment) of object;
Parameters 
Description 
AMsg 
Message to receive the attachment.
 
AHeaders 
Headers for the attachment.
 
AAttachment 
The attchment created for the messsage. 

TIdCreateAttachmentEvent is an object procedure that represents the event type signalled when attachments are detected and need to be created for a TIdMessage message instance. 

TIdCreateAttachmentEvent is the type used to represent the TIdMessage.OnCreateAttachment event handler property.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.