TSmtpCli.HdrTo

From Overbyte
Jump to: navigation, search

Main page -> ICS component reference -> TSmtpCli -> HdrTo

Definition

property HdrTo:String;

Description

Defines the e-mail address of recipient(s). These are seperated by ; and an e-mail adress can either look like name@none.com or My name <name@none.com>. Note that HdrTo is not used to actually send the e-mail, HdrTo is used for e-mail clients to visually see the recipients in the To-field. To actually send you must add the e-mail adress to Smtp.RcptNames.Add('name@none.com').

Example

nothing yet

Best practices

Even though it is possible to omit this property some e-mail providers might consider your e-mail as being spam and hence trash it or even not receivie it at all.

How to

nothing yet