![]() |
MailItem To property and display name
Hi,
I would like to know if there is a way to format the string passed to the 'To' property to specify to Outlook a 'display name' along with the e-mail address provided to 'To'. If not, what are the alternatives to provide a pair Display name/email address to a newly created MailItem? Thank you, Olivier Langlois http://www.olivierlanglois.net |
MailItem To property and display name
Try:
m.To = "FirstName LastName " -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Olivier Langlois" wrote in message oups.com... Hi, I would like to know if there is a way to format the string passed to the 'To' property to specify to Outlook a 'display name' along with the e-mail address provided to 'To'. If not, what are the alternatives to provide a pair Display name/email address to a newly created MailItem? Thank you, Olivier Langlois http://www.olivierlanglois.net |
All times are GMT +1. The time now is 02:31 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com