Пример #1
0
        public void SetRcptTo(DirectAddressCollection recipients)
        {
            if (recipients == null)
            {
                throw new ArgumentNullException("recipients");
            }

            if (this.HasEnvelope)
            {
                m_message.SetEnvelopeRecipients(recipients.ToMailAddressCollection());
            }
        }
Пример #2
0
 public void SetRcptTo(DirectAddressCollection recipients)
 {
     if (recipients == null)
     {
         throw new ArgumentNullException("recipients");
     }
     
     if (this.HasEnvelope)
     {
         m_message.SetEnvelopeRecipients(recipients.ToMailAddressCollection());
     }
 }