Gets or sets the encoding used to convert a string into a bytes stream which is then sent to the server.
A reference to the encoding object used to convert a string into a bytes stream which is then sent to the server. The default value is DefaultEncoding.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | value is a null reference (Nothing in Visual Basic). |
Smtp Class | MailBee.SmtpMail Namespace