Changing pop server automatically in VBScript

  • Thread starter Thread starter gcharhon
  • Start date Start date
G

gcharhon

Hi,

I need to do a programm in VBScript that change automatically the name
of all the pop servers of all account in Microsoft Outlook 2003.

How can I do ?

Thank you for your help.
 
Hi there

If I was going to do this I'd start with customising a PRF file - seehttp://office.microsoft.com/en-us/ork2003/HA011403051033.aspx.

Hi

I have read that the prf file is only for updating outlook, but I also
need to read the old users name and pop servers with my application.

Thanks you
 
then you'll need to read the names with a script, write the prf on the fly
and deploy it.
 
then you'll need to read the names with a script, write the prf on the fly
and deploy it.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks?http://www.outlook-tips.net/beginner/
Outlook 2007:http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:
(e-mail address removed)

Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:
(e-mail address removed)


I have read that the prf file is only for updating outlook, but I also
need to read the old users name and pop servers with my application.
Thanks you


Thanks,

But how can I read the name of the pop servers and the logins ?

Thank you.
 
it's in the registry... Google is your friend when you need help writing
scripts like this.
 
it's in the registry... Google is your friend when you need help writing
scripts like this.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks?http://www.outlook-tips.net/beginner/
Outlook 2007:http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:
(e-mail address removed)

Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:
(e-mail address removed)


But how can I read the name of the pop servers and the logins ?
Thank you.

Hi,

but I already try to search in the registery m email adress and my pop
server (that is configured in Outlook 2003) and it doesn't work.

It only works with outlook express.

I already have search many hours on google and I didn't find anything

Thank you for your help.
 
http://www.google.com/search?q=outl...t:*&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1
leads to several articles that point to the profile at
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\profile_name

The accounts are stored in a key that should be the only one that has
subkeys - the subkeys are 000000x, beginning with 1 and going up depending
on how many accounts and services are installed. The name values are all
plain English (email, smtp server, pop3 server) so they are easy to find in
a search of the registry. Since you won't know the profile names, the script
needs to walk the registry looking for the names.










developperVB said:
it's in the registry... Google is your friend when you need help writing
scripts like this.

--
Diane Poremsky [MVP - Outlook]
Author, Teach Yourself Outlook 2003 in 24 Hours
Need Help with Common Tasks?http://www.outlook-tips.net/beginner/
Outlook 2007:http://www.slipstick.com/outlook/ol2007/

Outlook Tips by email:
(e-mail address removed)

Outlook Tips:http://www.outlook-tips.net/
Outlook & Exchange Solutions Center:http://www.slipstick.com
Subscribe to Exchange Messaging Outlook newsletter:
(e-mail address removed)


But how can I read the name of the pop servers and the logins ?
Thank you.

Hi,

but I already try to search in the registery m email adress and my pop
server (that is configured in Outlook 2003) and it doesn't work.

It only works with outlook express.

I already have search many hours on google and I didn't find anything

Thank you for your help.
 
Back
Top