Beispiel #1
0
        public void SetRcptTo(DirectAddressCollection recipients)
        {
            if (recipients == null)
            {
                throw new ArgumentNullException("recipients");
            }

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