Queues message for relay.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void QueueMessage( string from, string envelopeID, SMTP_DSN_Ret ret, string to, string originalRecipient, SMTP_DSN_Notify notify, string messageID, Stream message, Object tag )
Public Sub QueueMessage ( from As String, envelopeID As String, ret As SMTP_DSN_Ret, to As String, originalRecipient As String, notify As SMTP_DSN_Notify, messageID As String, message As Stream, tag As Object )
public: void QueueMessage( String^ from, String^ envelopeID, SMTP_DSN_Ret ret, String^ to, String^ originalRecipient, SMTP_DSN_Notify notify, String^ messageID, Stream^ message, Object^ tag )
member QueueMessage : from : string * envelopeID : string * ret : SMTP_DSN_Ret * to : string * originalRecipient : string * notify : SMTP_DSN_Notify * messageID : string * message : Stream * tag : Object -> unit
Parameters
- from (String)
- Sender address.
- envelopeID (String)
- Envelope ID_(MAIL FROM: ENVID).
- ret (SMTP_DSN_Ret)
- Specifies what parts of message are returned in DSN report.
- to (String)
- Target recipient address.
- originalRecipient (String)
- Original recipient(RCPT TO: ORCPT).
- notify (SMTP_DSN_Notify)
- DSN notify condition.
- 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