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

Declaration
type  
  TacSMTPContentType = (ctPlainText, ctHTML);  
 
property MsgContentType: TacSMTPContentType;  

Description
The MsgContentType property specifies the type of message content. The MsgContentType allows to email reader to determinate which format should be used to display the message.  
 
Set MsgContentType to ctPlainText if you wish the MsgBody contains only plain text, or set it to ctHTML to send HTML-formatted message.  

See also
MsgContentCharset, MsgBody and MsgSubject properties.  
File not found.