Back to product page

SmtpMsg Object


Holds details about the message.


Methods
AttachAdds new attachment to the message
AttachTextAdds new attachment to the message, from the string
EmbedAdds new embedded image to the message.
EmbedTextAdds new embedded image to the message, from the string.
EncodeHeaderEncodes message header.
EncodeTextEncodes message text.
EncryptDigitally encrypts the message.
LoadLoads message from the file on disk.
SaveCopies message to file on disk.
SignDigitally signs the message.
SignDKIMAdds DKIM signature to the message.
Properties
BCCHolds blind carbon copy recipients.
BodyHolds complete body of message, including headers.
CCHolds carbon copy recipients.
ContentDescriptionHolds Content-Description header.
ContentDispositionHolds Content-Disposition header.
ContentIDHolds Content-ID header.
ContentSubtypeHolds Content-Subtype header.
ContentSubtypeParametersHolds Content-Subtype-Parameters header.
ContentTransferEncodingHolds Content-Transfer-Encoding header.
ContentTypeHolds Content-Type header.
DateHolds message Date, if available.
FromHolds sender of the message.
FromEmailReturns Email of the sender, if found.
FromNameReturns Name of the sender, if found.
HeadersReferences collection of headers for the message.
HTMLTextHolds text/html part of the message.
MessageIDHolds Message-ID header.
MIMEVersionHolds MIME-Version header.
PartsReferences collection of parts for the message.
PlainTextHolds text/plain part of the message.
PriorityDetermines message priority.
ReplyToHolds value of Reply-To header.
SizeHolds size of message text, in bytes.
SubjectHolds subject of the message.
TagTag for miscellaneous use.
TextHolds body (without headers).
ToHolds recipient of the message.
ToEmailReturns Email of the recipient, if found.
ToNameReturns Name of the recipient, if found.

Remarks

Holds all available information about the message. Members Methods

Platforms

Windows