Discuss this help topic in SecureBlackbox Forum

TElMessagePart.Attachments

TElMessagePart     See also     


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


This read-only property returns attachment by its index.

Declaration

[C#/Java]
    TElMessagePart Attachments[int Index];

[VB.NET]
    Property Attachments(ByVal Index As Integer) As TElMessagePart

[Pascal]
    property Attachments[Index: Integer]: TElMessagePart;

[C++]
    TElMessagePart* get_Attachments(int32_t Index);

[PHP]
    TElMessagePart get_Attachments(integer $Index)

Parameters

  • Index - index of the attachment.

Description

    Use this property to get attachment by its index. If you deal with attached file use FileName property to get/set its name.
    Since attachments are usually attached to the message itself (i.e. as parts of the multipart message), quick way to add an attachment is use TElMessage.AttachData or TElMessage.AttachFile. To delete an attachment use DeletePart method.

See also:     AttachmentsCount     FileName    

Discuss this help topic in SecureBlackbox Forum