/// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue, string from, string to, string messageID, Stream message, object tag)
 {
     m_pQueue         = queue;
     m_From           = from;
     m_To             = to;
     m_MessageID      = messageID;
     m_pMessageStream = message;
     m_pTag           = tag;
 }
示例#2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue,string from,string to,string messageID,Stream message,object tag)
 {
     m_pQueue         = queue;
     m_From           = from;
     m_To             = to;
     m_MessageID      = messageID;
     m_pMessageStream = message;
     m_pTag           = tag;
 }
示例#3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="envelopeID">Envelope ID_(MAIL FROM: ENVID).</param>
 /// <param name="ret">Specifies what parts of message are returned in DSN report.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="originalRecipient">Original recipient(RCPT TO: ORCPT).</param>
 /// <param name="notify">DSN notify condition.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue,string from,string envelopeID,SMTP_DSN_Ret ret,string to,string originalRecipient,SMTP_DSN_Notify notify,string messageID,Stream message,object tag)
 {
     m_pQueue            = queue;
     m_From              = from;
     m_EnvelopeID        = envelopeID;
     m_DSN_Ret           = ret;
     m_To                = to;
     m_OriginalRecipient = originalRecipient;
     m_DSN_Notify        = notify;
     m_MessageID         = messageID;
     m_pMessageStream    = message;
     m_pTag              = tag;
 }
示例#4
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="envelopeID">Envelope ID_(MAIL FROM: ENVID).</param>
 /// <param name="ret">Specifies what parts of message are returned in DSN report.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="originalRecipient">Original recipient(RCPT TO: ORCPT).</param>
 /// <param name="notify">DSN notify condition.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue, string from, string envelopeID, SMTP_DSN_Ret ret, string to, string originalRecipient, SMTP_DSN_Notify notify, string messageID, Stream message, object tag)
 {
     m_pQueue            = queue;
     m_From              = from;
     m_EnvelopeID        = envelopeID;
     m_DSN_Ret           = ret;
     m_To                = to;
     m_OriginalRecipient = originalRecipient;
     m_DSN_Notify        = notify;
     m_MessageID         = messageID;
     m_pMessageStream    = message;
     m_pTag              = tag;
 }