Add customized header.
void AddHeader( [in] BSTR Key, [in] BSTR Val )
Parameters
Key
Header key to be added.
Val
The Value of key.
Remarks
AddHeader method provides some advanced functions. For example, developer can use AddHeader to add a customized header as follows: oSmtp.AddHeader( "Disposition-Notification-To", "reply@email.com" ). Once the recipient receives this e-mail via Outlook/Outlook Express, it requests a read receipt for this email.