void RcptTo (MimeMessage message, MailboxAddress mailbox, CancellationToken cancellationToken)
{
var command = string.Format ("RCPT TO:<{0}>", mailbox.Address);
if ((capabilities & SmtpCapabilities.Dsn) != 0) {
var notify = GetDeliveryStatusNotifications (message, mailbox);
if (notify.HasValue)
command += " NOTIFY=" + GetNotifyString (notify.Value);
}
if ((capabilities & SmtpCapabilities.Pipelining) != 0) {
QueueCommand (SmtpCommand.RcptTo, command, cancellationToken);
return;
}
var response = SendCommand (command, cancellationToken);
ProcessRcptToResponse (message, mailbox, response);
}