EmailHeaders

From Xojo Documentation

Class (inherits from InternetHeaders)

Used to hold the headers for an email.

Methods
AppendHeader DeleteAllHeaders Source
CommaSeparatedValues Name Source
Count NameCount Value
Delete SetHeader Value
Delete SetHeader Value

Notes

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

Examples

The following sets the header of an outgoing email.

Dim 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.