MailMessageTo Property |
Namespace: MailBee.Mime
Exception | Condition |
---|---|
MailBeeInvalidArgumentException | value is a null reference (Nothing in Visual Basic). |
To specify this property as a string, set msg.To.AsString value (assuming msg is MailMessage instance).
To send a message, you should specify at least one recipient's e-mail address in To, Cc, or Bcc property. It's possible, however, to send a mail message even if no recipients specified in the message itself using Smtp.Send method.