L
Long Nguyen
Hi,
In my Outlook custom form, how can I get the smtp address of a given Outlook
display format address?
I got the code below:
Set olns = Item.Application.GetNameSpace("MAPI")
Set strAddrList = olns.AddressLists("Global Address List")
myemail="Nguyen, Long (CSIRO IT, St Lucia)"
Set strAddrEntry = strAddrList.AddressEntries(myemail)
msgbox strAddrEntry.Address
This displays "/o=CSIRO/ou=NEXUS/cn=Recipients/cn=ngu059", not the smtp
address which is (e-mail address removed).
Thanks
Long
In my Outlook custom form, how can I get the smtp address of a given Outlook
display format address?
I got the code below:
Set olns = Item.Application.GetNameSpace("MAPI")
Set strAddrList = olns.AddressLists("Global Address List")
myemail="Nguyen, Long (CSIRO IT, St Lucia)"
Set strAddrEntry = strAddrList.AddressEntries(myemail)
msgbox strAddrEntry.Address
This displays "/o=CSIRO/ou=NEXUS/cn=Recipients/cn=ngu059", not the smtp
address which is (e-mail address removed).
Thanks
Long