sendmail AddHeaders property
Return to Introduction  Previous page  Next page
Applies to
SendMail component.  

Declaration
property AddHeaders: TStringList;  

Description
The AddHeaders property specifies additional headers of the e-mail message. You can specify ANY optional headers that may be required by mail client to process and display the message.  
 
Specify one header per line. The format should looks like:  
FieldName: Value  
 
For example  
X-ResentFrom: <email@address.com>  
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000  
X-Antivir-Status: Clean  
and so forth…  

See also (fields automatically included to the header of message)
Agent, FromAddress, FromName, FromOrganization, MsgContentCharset, MsgContentType, MsgPriority, MsgSubject, ReplyTo, ToAddr and ToCC properties.