示例#1
0
 /// <summary>
 /// Add a recipient who will be "Blind Carbon Copied"
 /// as a recipient of the email.  BCC addresses are
 /// not added to the email headers, but only appear
 /// during the "RCPT TO" SMTP negotiation.
 /// </summary>
 /// <param name="emailaddress">The EmailAddress object</param>
 public void AddBccAddress(EmailAddress emailaddress)
 {
     _bccaddresses.Add(emailaddress);
 }
示例#2
0
 /// <summary>
 /// Add a To address to the Headers.  This will also
 /// be used during the "RCPT TO" SMTP negotiation
 /// </summary>
 /// <param name="emailaddress">Email Address object of the recipient</param>
 public void AddToAddress(EmailAddress emailaddress)
 {
     _toaddresses.Add(emailaddress);
 }
示例#3
0
 /// <summary>
 /// Add a Cc address to the Headers.  This will also
 /// be used during the "RCPT TO" SMTP negotiation
 /// </summary>
 /// <param name="emailaddress">Email Address object of the recipient</param>
 public void AddCcAddress(EmailAddress emailaddress)
 {
     _ccaddresses.Add(emailaddress);
 }
示例#4
0
 /// <summary>
 /// Add a recipient to the EmailAddressCollection
 /// of recipients
 /// </summary>
 /// <param name="emailaddress"></param>
 public void AddRcptToAddress(EmailAddress emailaddress)
 {
     _rcpttoaddresses.Add(emailaddress);
 }