View Single Post
  #2  
Old September 11th 06, 05:10 PM posted to microsoft.public.office.developer.outlook.vba,microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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

Ads