![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
verify and delete mailitem | Joanne | Outlook and VBA | 8 | June 13th 06 11:38 PM |
Set MailItem.Sender Property | Joshua Ellul | Add-ins for Outlook | 2 | June 8th 06 06:30 PM |
'Display Name' Property for Attachments.Add Method | Ned Moorfield | Outlook and VBA | 0 | May 18th 06 09:06 AM |
Read body of MailItem ? | Trey Shaffer | Outlook and VBA | 1 | March 18th 06 07:56 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 04:14 PM |