From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.AddHeader("X-Mailer","Example SMTPSocket Demo")

See Also

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