EmailHeaders

From Xojo Documentation

Class (inherits from InternetHeaders)

Used to hold the headers for an email.

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

Notes

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

Examples

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.