AddWithSmptpAddress method

EmailAddress AddWithSmptpAddress(
  1. String smtpAddress
)
Adds an e-mail address to the collection. The SMTP address used to initialize the e-mail address.

Implementation

EmailAddress AddWithSmptpAddress(String smtpAddress) {
  EmailAddress emailAddress = new EmailAddress(smtpAddress: smtpAddress);

  this.Add(emailAddress);

  return emailAddress;
}