Method

InternetHeaders.AppendHeader


Warning

This item was deprecated in version 2019r2. Please use InternetHeaders.AddHeader as a replacement.

Description

Appends a new header.

Sample code

' populate a email message
Dim mail As New EmailMessage
mail.FromAddress = FromAddressField.Text
mail.Subject = SubjectField.Text
mail.BodyPlainText = BodyField.Text
mail.BodyHTML = HtmlField.Text
mail.Headers.AppendHeader("X-Mailer","Example SMTP Demo")

Compatibility

All project types on all supported operating systems.