void IReplayProvider.Send(SendAction action) { MrsTracer.Provider.Function("ImapSourceMailbox.Send({0})", new object[] { action }); SmtpClientHelper.Submit(action, base.SmtpParameters.Server, base.SmtpParameters.Port, base.AuthenticationParameters.NetworkCredential); }
List <ReplayActionResult> ISourceMailbox.ReplayActions(List <ReplayAction> actions) { MrsTracer.Provider.Function("PopSourceMailbox.ReplayActions({0} actions)", new object[] { actions.Count }); base.VerifyMailboxConnection(VerifyMailboxConnectionFlags.None); List <ReplayActionResult> list = new List <ReplayActionResult>(actions.Count); foreach (ReplayAction replayAction in actions) { ActionId id = replayAction.Id; if (id != ActionId.Send) { throw new ActionNotSupportedException(); } SmtpClientHelper.Submit((SendAction)replayAction, base.SmtpParameters.Server, base.SmtpParameters.Port, base.AuthenticationParameters.NetworkCredential); list.Add(null); } return(list); }