A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

outlook help



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 19th 06, 08:29 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default outlook help

Is there a way to get the local OUTLOOK email adressess from the local
machine through scripting languages?

want to display outlook email adressess through Javascript or
vbscript
language


Thanks & Regards


Kalyan

Ads
  #2  
Old April 19th 06, 03:54 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default outlook help

What do you mean by local Outlook addresses? Do you mean the contact email
addresses from the Contacts folders?

You can get that using Outlook automation, but you would get security
prompts unless you are running in-process with Outlook and are using Outlook
2003 (or 2002 with the Exchange security form). See
http://www.outlookcode.com/d/sec.htm for information on that.

Also, if the code is running in a Web page you would need to make the
Outlook code a DLL or something that can be downloaded to the local machine
and run in the context of the local machine and its Outlook installation.

For getting email addresses from contacts you would get each contacts folder
you want. For just the default Contacts folder you'd use
NameSpace.GetDefaultFolder(olFolderContacts) to get the folder, get its
Items collection and iterate that (watching out because contacts folders can
contain distribution lists) and then check the ContactItem.Email1Address,
..Email2Address and .Email3Address.

Search on www.outlookcode.com for more information on Outlook automation.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
Is there a way to get the local OUTLOOK email adressess from the local
machine through scripting languages?

want to display outlook email adressess through Javascript or
vbscript
language


Thanks & Regards


Kalyan


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:09 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-2025 Outlook Banter.
The comments are property of their posters.