Discuss this help topic in SecureBlackbox Forum

TElMessageHeader.DeleteMailAddressList

TElMessageHeader     See also     


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


Deletes address field from the header.

Declaration

[C#]
    void DeleteMailAddressList(int Index);
    void DeleteMailAddressList(string Name, int Index);

[VB.NET]
    Sub DeleteMailAddressList(ByVal Index As Integer)
    Sub DeleteMailAddressList(ByVal Name As String, ByVal Index As Integer)

[Pascal]
    procedure DeleteMailAddressList(Index: Integer);
    procedure DeleteMailAddressList(const Name: TString; Index: Integer = 0);

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

[PHP]
    void DeleteMailAddressList(integer $Index)
    void DeleteMailAddressList(string $Name, integer $Index)

[Java]
    void deleteMailAddressList(String Name, int Index);
    void deleteMailAddressList(int Index);

Parameters

  • Index - index of the field that must be deleted.
  • Name - name of the field that must be deleted.

Description

    Use this method when you want to delete any address field from the header.
    You can delete 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 deleted.

See also:     AddMailAddressList     DeleteField     GetMailAddressList    

Discuss this help topic in SecureBlackbox Forum