/// <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); }
/// <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); }
/// <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); }
/// <summary> /// Add a recipient to the EmailAddressCollection /// of recipients /// </summary> /// <param name="emailaddress"></param> public void AddRcptToAddress(EmailAddress emailaddress) { _rcpttoaddresses.Add(emailaddress); }