Discuss this help topic in SecureBlackbox Forum

TElXMLSOAPClient.SendMessageWithAttachment

TElXMLSOAPClient     See also     


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


Sends a SOAP message with a single attachment.

Declaration

[C#]
    void SendMessageWithAttachment(string PrimaryMessageID, string ContentID, string ContentType, System.IO.Stream ContentStream, bool CloseStream);

[VB.NET]
    Sub SendMessageWithAttachment(ByVal PrimaryMessageID As String, ByVal ContentID As String, ByVal ContentType As String, ByVal ContentStream As System.IO.Stream, ByVal CloseStream As Boolean)

[Pascal]
    procedure SendMessageWithAttachment(const PrimaryMessageID, ContentID, ContentType : string; ContentStream : TElStream; CloseStream : Boolean);

[C++]
    void SendMessageWithAttachment(const std::string &PrimaryMessageID, const std::string &ContentID, const std::string &ContentType, TStream &ContentStream, bool CloseStream);
    void SendMessageWithAttachment(const std::string &PrimaryMessageID, const std::string &ContentID, const std::string &ContentType, TStream *ContentStream, bool CloseStream);

[PHP]
    void SendMessageWithAttachment(string $PrimaryMessageID, string $ContentID, string $ContentType, TStream $ContentStream, bool $CloseStream)

[Java]
    void sendMessageWithAttachment(String PrimaryMessageID, String ContentID, String ContentType, TElStream ContentStream, boolean CloseStream);

Parameters

  • PrimaryMessageID - the identifier of the primary message in the multipart list.
  • ContentID - the identifier of the main message content.
  • ContentType - specifies the content type of the message.
  • ContentStream - the stream containing message data.
  • CloseStream - set this parameter to true if the application should take care of closing the content stream.

Description

Call this method to send the SOAP message with only one attachment as a Multipart/Related compound to the destination URL.

See also:     SendMessageWithAttachments     SendMessage     URL    

Discuss this help topic in SecureBlackbox Forum