protected void SubmitMessage(MessageItem message, ProxyAddress sender, IEnumerable <Participant> recipients) { this.context.TraceDebug <string>("Submitting message with subject {0}", message.Subject); this.AppendRuleHistory(message); using (ISubmissionItem submissionItem = this.Context.GenerateSubmissionItem(message, this)) { submissionItem.Submit(sender, recipients); } }
protected void SubmitMessage(MessageItem message) { this.context.TraceDebug <string>("Submitting message with subject {0}", message.Subject); this.AppendRuleHistory(message); using (ISubmissionItem submissionItem = this.Context.GenerateSubmissionItem(message, this)) { submissionItem.Submit(); } }