LumiSoft Net Help
QueueMessage Method (from, to, messageID, message, tag)
Namespaces ► LumiSoft.Net.SMTP.Relay ► Relay_Queue ► QueueMessage(String, String, String, Stream, Object)
Queues message for relay.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void QueueMessage(
    	string from,
    	string to,
    	string messageID,
    	Stream message,
    	Object tag
    )

    Public Sub QueueMessage (
    	from As String,
    	to As String,
    	messageID As String,
    	message As Stream,
    	tag As Object
    )

    public:
    void QueueMessage(
    	String^ from,
    	String^ to,
    	String^ messageID,
    	Stream^ message,
    	Object^ tag
    )

    member QueueMessage :
            from : string *
            to : string *
            messageID : string *
            message : Stream *
            tag : Object -> unit

Parameters

from (String)
  Sender address.

to (String)
  Target recipient address.

messageID (String)
  Message ID.

message (Stream)
  Raw mime message. Message reading starts from current position.

tag (Object)
  User data.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when to,to,messageID or message is null.
ArgumentException | Is raised when any of the arguments has invalid value.

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