Page 1 of 1

CnSmtpConnection: Specifying a name as well as an address

Posted: Fri Aug 07, 2009 11:41 am
by ConvertFromOldNGs
by Robin Arzoni >> Mon, 10 May 1999 1:35:15 GMT

Hi,

In the latest version of CardSchema (2.2.23, released today), you can specify a name in the sendFrom property of the CnSmtpConnection object, in addition to the e-mail address. Just enclose the name in double quotes, and place it in front of the e-mail address: for example,

smtp.sendFrom := '"Monica Lewinsky" monica@whitehouse.gov'

When the message is displayed in the Inbox of Microsoft Outlook on the destination client, the From column will contain "Monica Lewinsky" rather than monica@whitehouse.gov.

Regards
Robin Arzoni
Jade Systems Group