Discuss this help topic in SecureBlackbox Forum

TElMessagePartHandler.IsAttachment

TElMessagePartHandler     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Shows if value of the "Content-Disposition:" header field is ATTACHMENT.

Declaration

[C#]
    not available

[VB.NET]
    not available

[Pascal]
    protected class function IsAttachment(const wsContentType: TString; ContentTypeField: TElMessageHeaderField; Header: TElMessageHeader): Boolean;

[PHP]
    not available

[C++]
    not available

[Java]
    not available

Parameters

  • wsContentType - message part content type without parameters.
  • ContentTypeField - the whole 'content-type' header field with all parameters.
  • Header - the whole header of the message part.

Return value

    Returns True if the value of the "Content-Disposition:" header field is ATTACHMENT, and False otherwise.

Description

    This method is necessary only for TElMessagePart.CreatePartForHeader method correct work.

See also:     IsAudio     IsImage     IsInline     IsMessage     IsMultipart     IsText     IsTextPlain     IsVideo    

Discuss this help topic in SecureBlackbox Forum