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

property TemplateConverter: TTextTemplateConverter;  

The TemplateConverter can be pointed to TextTemplateConverter component, if you are using the template keywords in your email messages, to translate all the %keywords% in message body and headers of outgoing email, to replace them with actual "Values", specified as the parameters of converter component.  
For example, if your message contains keywords like %RECIPIENT_NAME% or %RECIPIENT_EMAIL%, the component will automatically replace them to the actual name and email address of recipient, and the message like  
etc, etc...  
will be automatically translated to  
To: Bill Gates <>  
Dear Bill Gates,  
etc, etc...  

See also
TTextTemplateConverter component.