Add customized header to current email.
[Syntax] Visual C++: HRESULT AddHeader(BSTR strHeader, BSTR strValue, long* pVal) Visual Basic: AddHeader(strHeader As String, strValue As String) As Long
Parameters
Return Value
Remarks
' inserts a auto-submitted header to indicate that ' the message was originated by an automatic process, or an automatic ' responder, rather than by a human oSmtp.AddHeader "auto-submitted", "auto-generated"
See Also