CnSmtpConnection: Specifying a name as well as an address

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

CnSmtpConnection: Specifying a name as well as an address

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

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

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 29 guests