 | SmtpClientPrepare Method |
Prepare the message for transport with the specified constraints.
Namespace: MailKit.Net.SmtpAssembly: MailKit (in MailKit.dll) Version: 4.10.0
Syntaxprotected virtual void Prepare(
FormatOptions options,
MimeMessage message,
EncodingConstraint constraint,
int maxLineLength
)
Parameters
- options FormatOptions
- The format options.
- message MimeMessage
- The message.
- constraint EncodingConstraint
- The encoding constraint.
- maxLineLength Int32
- The max line length supported by the server.
RemarksPrepares the message for transport with the specified constraints.
Typically, this involves calling Prepare(EncodingConstraint, Int32) on
the message with the provided constraints.
See Also