PowerTCP Mail for .NET
Get(Stream,ImapMessageInfo) Method




Stream to be written to.
Message sections to get.
Gets the specified message sections of the encoded message and writes it to the specified Stream without decoding.
Syntax
Public Overloads Sub Get( _
   ByVal destination As Stream, _
   ByVal sections As ImapMessageInfo _
) 
Dim instance As ImapMessage
Dim destination As Stream
Dim sections As ImapMessageInfo
 
instance.Get(destination, sections)
public void Get( 
   Stream destination,
   ImapMessageInfo sections
)
public: void Get( 
   Stream* destination,
   ImapMessageInfo sections
) 
public:
void Get( 
   Stream^ destination,
   ImapMessageInfo sections
) 

Parameters

destination
Stream to be written to.
sections
Message sections to get.
Exceptions
ExceptionDescription
ProtocolExceptionBad IMAP protocol response received from server.
Remarks

A combination of of ImapMessageInfo can be used to specify data of interest. For example, ImapMessageInfo.Header can be used to retrieve the message header.

This method will set Info as applicable for the value of sections.

See Also

Reference

ImapMessage Class
ImapMessage Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic