InternetHeaders → Object

EmailHeaders Class

Used to hold the headers for an email.

Methods
AppendHeader
Count
Delete
Name
SetHeader
Source
Value
ValueCount

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

# Example

The following sets the header of an outgoing email.

Dim mail as EmailMessage
mail= New EmailMessage
mail.headers.AppendHeader "X-Mailer","REALbasic SMTPSocket Demo"

# See Also

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