Discuss this help topic in SecureBlackbox Forum

TElSimpleMIMEMessage.AddAttachment

TElSimpleMIMEMessage     See also     


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


Adds new attachment to the message.

Declaration

[C#]
    int AddAttachment();

[VB.NET]
    Function AddAttachment() As Integer

[Pascal]
    function AddAttachment: integer;

[C++]
    int32_t AddAttachment();

[PHP]
    integer AddAttachment()

[Java]
    int addAttachment();

Return value

    Index of the new attachment in the Attachments or -1 in a case of error.

Description

    Use this method to create a new attachment of the message.
Then use TElSimpleMIMEAttachment properties to manage it.

See also:     Attachments     RemoveAttachment    

Discuss this help topic in SecureBlackbox Forum