Adds an SMTP header to this email request using a key value pair.
Many common headers are settable through properties of this object directly, but if you need to add specific headers you can use this method to do so. Please check the properties for a matching header first as the property settings will override any custom headers you add manually with this method.
loSmtp.AddHeader("Return-Path","bounce@mydomain.com")
o.AddHeader(lcHeader, lcValue)
Parameters
lcHeader
The header to add
lcValue
The value of the header to set
Remarks
Note that headers that are automatically set by the SMTP component may override explicit headers you set.
See also:
Class wwSMTP© West Wind Technologies, 2023 • Updated: 11/29/16
Comment or report problem with topic