Internet Direct (Indy)
|
Implements detection of a UUEncoded packet, and creates the message coder for the message part.
function CheckForStart( ASender: TIdMessage; const ALine: string ): TIdMessageDecoder; override;
Parameters |
Description |
ASender |
Message containing the message part. |
ALine |
Line from the message part to be examined for UUEncode formatting. |
TIdMessageDecoder - Message Decoder class to use for the message part.
CheckForStart is an overridden TIdMessageDecoder function in TIdMessageDecoderInfoUUE that implements recognizing information in UUEncoded message packet, like the header section and PermissionCode, as well as constructing a TIdMessageDecoderUUE for the associated message.
CheckForStart examines ALine to determine if it contains a UUencode header section, which consists of the keyword "begin" and the space-delimited values for PermissionCode and Filename. If the header section is detected, CheckForStart also sets PartType to ptAttachment.
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. |