LumiSoft Net Help
StoreMessage Method (folder, flags, internalDate, message, count)
NamespacesLumiSoft.Net.IMAP.ClientIMAP_ClientStoreMessage(String, array<String>[]()[][], DateTime, Stream, Int32)
Stores specified message to the specified folder.
Declaration Syntax
C#Visual BasicVisual C++F#
public void StoreMessage(
	string folder,
	string[] flags,
	DateTime internalDate,
	Stream message,
	int count
)
Public Sub StoreMessage ( 
	folder As String,
	flags As String(),
	internalDate As DateTime,
	message As Stream,
	count As Integer
)
public:
void StoreMessage(
	String^ folder, 
	array<String^>^ flags, 
	DateTime internalDate, 
	Stream^ message, 
	int count
)
member StoreMessage : 
        folder : string * 
        flags : string[] * 
        internalDate : DateTime * 
        message : Stream * 
        count : int -> unit 
Parameters
folder (String)
Folder name with path.
flags (array<String>[]()[][])
Message flags. Value null means no flags. For example: new string[]{"\Seen","\Answered"}.
internalDate (DateTime)
Message internal data. DateTime.MinValue means server will allocate it.
message (Stream)
Message stream.
count (Int32)
Number of bytes send from message stream.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
InvalidOperationExceptionIs raised when IMAP client is not in valid state. For example 'not connected'.
ArgumentNullExceptionIs raised when folder or stream is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.
IMAP_ClientExceptionIs raised when server refuses to complete this command and returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119