Discuss this help topic in SecureBlackbox Forum

TElSimpleMIMEMessage.AddAttachment

TElSimpleMIMEMessage     See also     


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


Adds new attachment to the message.

Declaration

[C#/Java]
    int AddAttachment();

[VB.NET]
    Function AddAttachment() As Integer

[Pascal]
    function AddAttachment: integer;

[C++]
    int32_t AddAttachment();

[PHP]
    integer 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