From Xojo Documentation

Revision as of 13:09, 18 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from InternetHeaders)

Used to hold the headers for an email.

AddHeader RemoveAllHeaders Source
CommaSeparatedValues RemoveHeader Value
Count SetHeader ValueAt
Name SetHeader
NameCount Source


Please refer to InternetHeaders for descriptions of this class's methods.


The following sets the header of an outgoing email.

Var mail As EmailMessage
mail = New EmailMessage
mail.Headers.AppendHeader("X-Mailer","Example SMTPSocket Demo")

See Also

EmailAttachment, EmailMessage, InternetHeaders, POP3SecureSocket, POP3Socket, SMTPSecureSocket, SMTPSocket, SocketCore, SSLSocket, TCPSocket classes.