Discuss this help topic in SecureBlackbox Forum

TElIMAPClient.Append

TElIMAPClient     


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


Sends APPEND command to the server and parses server's response.

Declaration

[VB.NET]
    Sub Append(ByVal MailBox As String, ByVal Flags As TSBIMAPMessageFlags, ByVal Message As TElSimpleMIMEMessage, ByVal AppendResult As TElIMAPAppendResult)
    Sub Append(ByVal MailBox As String, ByVal Flags As TSBIMAPMessageFlags, ByVal Stream As System.IO.Stream, ByVal AppendResult As TElIMAPAppendResult)

[Pascal]
    procedure Append(MailBox : TWideString; Flags : TSBIMAPMessageFlags; Message : TElSimpleMIMEMessage; AppendResult : TElIMAPAppendResult);
    procedure Append(MailBox : TWideString; Flags : TSBIMAPMessageFlags; Stream : TElStream; AppendResult : TElIMAPAppendResult);

[C++]
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TElMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TElMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TElMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TElMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TElSimpleMIMEMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TElSimpleMIMEMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TElSimpleMIMEMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TElSimpleMIMEMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElSimpleMIMEMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElSimpleMIMEMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElSimpleMIMEMessage &Message, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TElSimpleMIMEMessage *Message, TElIMAPAppendResult *AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TStream &Stream, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, TStream *Stream, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TStream &Stream, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, TStream *Stream, TElIMAPAppendResult *AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TStream &Stream, TElIMAPAppendResult &AppendResult);
    void Append(const sb_u16string &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TStream *Stream, TElIMAPAppendResult *AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TStream &Stream, TElIMAPAppendResult &AppendResult);
    void Append(const std::wstring &MailBox, TSBIMAPMessageFlags Flags, int64_t DateTime, TStream *Stream, TElIMAPAppendResult *AppendResult);

[PHP]
    void Append(string $MailBox, integer $Flags, TElMessage $Message, TElIMAPAppendResult $AppendResult)
    void Append(string $MailBox, integer $Flags, DateTime $DateTime, TElMessage $Message, TElIMAPAppendResult $AppendResult)
    void Append(string $MailBox, integer $Flags, TElSimpleMIMEMessage $Message, TElIMAPAppendResult $AppendResult)
    void Append(string $MailBox, integer $Flags, DateTime $DateTime, TElSimpleMIMEMessage $Message, TElIMAPAppendResult $AppendResult)
    void Append(string $MailBox, integer $Flags, TStream $Stream, TElIMAPAppendResult $AppendResult)
    void Append(string $MailBox, integer $Flags, DateTime $DateTime, TStream $Stream, TElIMAPAppendResult $AppendResult)

[Java]
    not available

Parameters

  • MailBox - destination mailbox.
  • Flags - flags to be set in the resulting message.
  • Message - message to be appended to the mailbox.
  • AppendResult - the result of the APPEND command returned by the server.
  • DateTime - the internal date to be set in the resulting message.
  • Stream - stream that contains message literal to be appended to the mailbox.

TSBIMAPMessageFlags values

Description

    Use this method to send APPEND command to the server. This coman appends given literal as a separate message in the specified mailbox.

Discuss this help topic in SecureBlackbox Forum