MS Outlook 2003 Emai Accounts Setup

E

Eric

Hi,

Is there a way to automate the setup of the email accounts?
I have an Exchange Server account and many IMAP accounts.
On every computer I need to add the accounts by hand.

How I can automate that? By VBA or scripting?
Developing an Addin?
Are there any API's availavble?

Thanks
Eric
 
P

Peter Huang [MSFT]

Hi Eric,

Currently I am researching the issue, and I will update you ASAP.

Thanks!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang [MSFT]

Hi Eric,

Based on my research, to create MAPI profile, you need to leverage the low
level MAPI, which need C++ coding.

Here is the information I f ound for your reference.

Creating a Profile with NEWPROF (Exchange Server 2003)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mapi/html/3
240685a-f8a8-48a1-8ec5-8dac8869877f.asp

266352 INFO: MAPI Is the Only Way to Programmatically Change Profiles
<http://support.microsoft.com/?id=266352>

Sample code for creating profile:
228736 SAMPLE: Profman2.exe - MAPI Profile Manager v2.0
<http://support.microsoft.com/?id=228736>

Customizing Outlook Profiles by Using PRF Files
http://office.microsoft.com/en-us/assistance/HA011402581033.aspx

The Microsoft? Outlook? profile file (PRF file) allows you to quickly
create MAPI profiles for Microsoft Office Outlook 2003 users. The PRF file
is a text file with syntax that Microsoft Outlook uses to generate a
profile. By using a PRF file, you can set up new profiles for users or
modify existing profiles without affecting other aspects of your Outlook
(or Microsoft Office) installation. You can also manually edit a PRF file
to customize Outlook to include Outlook settings or MAPI services that are
not included in the Custom Installation Wizard user interface.

Also for IMAP account, you need to use PRF.

In profile, you can insert additional email account for various providers
(such as Exchange, IMAP, POP3, etc).

You can easily understand the concept of PRF from following document.

Whitepaper: Configuring Outlook Profiles by Using a PRF File
http://download.microsoft.com/download/4/6/2/462196eb-fa7c-4c9b-a233-53e67a4
a3ebf/PRFWhtepaper.exe

Create an Outlook Profile File (*.PRF)
http://www.outlook-tips.net/howto/prf.htm

*Sample Profile Content from White Paper*

; **************************************************************
; Section 1 - Profile Defaults
; **************************************************************
[General]
Custom=1
ProfileName=EveryAccount ; Name of the profile. Any string
; value is valid.
DefaultProfile=Yes ; Will this be set as the default
; profile once created?
OverwriteProfile=Yes ; Overwrite an existing profile if
; it has the same name? A value of
; Append means to modify the profile
; settings. No means don't overwrite.
ModifyDefaultProfileIfPresent=FALSE ; When modifying a profile, if no
; match is found, modify the default
; profile?
DefaultStore=Service2 ; Which store will contain mail?
; Exchange Server or Personal
; Folders? Section 2 below defines
; this.
; **************************************************************
; Section 2 - Services in Profile
; **************************************************************
[Service List]
Service1=Microsoft Exchange Server ; The list of services to configure
; within a profile. Each service
ServiceEGS=Exchange Global Section ; listed here will be configured
; under its appropriate header
Service2=Personal Folders ; listed in Section 4.
Service3=Outlook Address Book
Service4=LDAP Directory
Service5=Personal Address Book
;ServiceX=Microsoft Outlook Client
;***************************************************************
; Section 3 - List of internet accounts
;***************************************************************
[Internet Account List]
Account1=I_Mail ; List of Internet accounts to be
; configured with the profile.
Account2=IMAP_I_Mail ; Multiple accounts can be
; configured.
Account3=INET_HTTP ; Each account will be listed in
; Section 5.
 
P

Peter Huang [MSFT]

Hi Eric,

I appreciate your prompt response. : )

I understand your situation and please take your time to check that.
If there is anything unclear, please feel free to post back.
I am always very happy to be of assistance.

Have a nice day!

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang [MSFT]

Hi Eric,

Just want to say Hi, and I was wondering how everything is going.
If anything is unclear, please let me know.
It is my pleasure to be of assistance.


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top