LumiSoft Mail Server User API
Add Method (id, uid, internalDate, size, flags)
Namespaces > LumiSoft.Net.IMAP.Server > IMAP_MessageCollection > Add(String, Int64, DateTime, Int64, IMAP_MessageFlags)
Adds new message info to the collection.
Syntax

C# | Visual Basic | Managed C++

    public IMAP_Message Add (
    	string id,
    	long uid,
    	DateTime internalDate,
    	long size,
    	IMAP_MessageFlags flags
    )

    Public Function Add ( _
    	id As String, _
    	uid As Long, _
    	internalDate As DateTime, _
    	size As Long, _
    	flags As IMAP_MessageFlags _
    ) As IMAP_Message

    public:
    IMAP_Message^ Add (
    	String^ id,
    	long long uid,
    	DateTime internalDate,
    	long long size,
    	IMAP_MessageFlags flags
    )

Parameters

id (String)
  Message ID.
uid (Int64)
  Message IMAP UID value.
internalDate (DateTime)
  Message store date.
size (Int64)
  Message size in bytes.
flags (IMAP_MessageFlags)
  Message flags.

Return Value
Returns added IMAp message info.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)