TSmtpCli.HdrTo

From Overbyte
Revision as of 18:09, 31 March 2010 by Frla (talk | contribs) (→‎Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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