Discuss this help topic in SecureBlackbox Forum

TElMessageHeader.GetMailAddressList

TElMessageHeader     See also     


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


Returns address field from the header.

Declaration

[C#/Java]
    TElMailAddressList GetMailAddressList(int Index);
    TElMailAddressList GetMailAddressList(string Name, int Index);

[VB.NET]
    Function GetMailAddressList(ByVal Index As Integer) As TElMailAddressList
    Function GetMailAddressList(ByVal Name As String, ByVal Index As Integer) As TElMailAddressList

[Pascal]
    function GetMailAddressList(Index: Integer): TElMailAddressList;
    function GetMailAddressList(const Name: TString; Index: Integer = 0): TElMailAddressList;

[C++]
    TElMailAddressListHandle GetMailAddressList(int32_t Index);
    TElMailAddressListHandle GetMailAddressList(const sb_u16string &Name, int32_t Index);
    TElMailAddressListHandle GetMailAddressList(const std::wstring &Name, int32_t Index);

[PHP]
    TElMailAddressList GetMailAddressList(integer $Index)
    TElMailAddressList GetMailAddressList(string $Name, integer $Index)

Parameters

  • Index - index of the header field
  • Name - name of the header field

Return value

    Address header field.

Description

     Use this method when you want to get any address field from the header.
    You can get address field by its index or by name. There can be several address fields with one name. In this case Index parameter specifies the index of the field among address fields of the same name. If you specify only Name then the first present address field with this name will be returned.

See also:     AddMailAddressList     DeleteMailAddressList     GetField    

Discuss this help topic in SecureBlackbox Forum