473,513 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Add and Setup Outlook e-mail account on client pc using c#

9 New Member
Is there a way to add a e-mail account on a client pc using c#? I thought about maybe an exe that the user could download and run to add and configure their email client for them. Just wondering what options I have, I am not sure where to start in order to accomplish this. Thanks
Sep 3 '08 #1
2 2480
tlhintoq
3,525 Recognized Expert Specialist
Outlook stores files and account information seperately.
It stores them in different places for different versions of Outlook.
It stores them in differnt places for different operating systems.
Why bother to standardize, right?

So you're program will have to react correctly to all these parameters.

A list of file locations (not accounts, but outlook files) can be found here.
The article points out that account data is stored in the Windows registry.

Google found an article and VB code that reads the registry for account info.
Dissecting the VB for reading should get you all the locations and values to expect. So your program would write to those locations.

Good luck!
Sep 4 '08 #2
sh26
9 New Member
Thanks for the reply. I have ran across these location issues and you are right, they are scattered depending on the OS and the Outlook version. I think I may look at use the .prf files to add the email accounts on the clients. Not sure if that will work but I read where the .prf files are the same across Outlook clients 2003 and 2007. I'll see how it goes once I start testing.
Sep 4 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2081
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part...
2
2008
by: Ramil Domingo | last post by:
Hi All, I would like to know if there is a way I could change the background of my setup form during installation? I know there is a "bannerbitmap" property of every form in the User Interface...
5
15905
by: paii, Ron | last post by:
How do I setup a email with attachment for preview but require the user to push the SEND button in Outlook. I have the following function but it sends the email without the sender ever seeing it. ...
3
2935
by: Vai2000 | last post by:
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the...
1
2775
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we...
2
1375
by: Henrik Dahl | last post by:
Hello! I've made a WebService which has the name MyWebService. Now I make a setup project for it. The name of the setup project is MyWebServiceInstaller. The default name for the virtual...
2
1608
by: meh | last post by:
Where can I find more info on setting up an installation. For example I have created my setup routines and the default stuff is working fine. but..... I need to give the user some options of what...
3
4545
by: tony_pez | last post by:
First timer be gentle. I have this code I am trying to put into a vb.net addin for ol2003. I get the error Outlook.Application and Outlook.Selection is not declared. I have installed the PIA's...
7
3590
by: Chris Thunell | last post by:
I'm trying to loop through an exchange public folder contact list, get some information out of each item, and then put it into a vb.net datatable. I run though the code and all works fine until i...
5
2523
by: =?Utf-8?B?WWFlbA==?= | last post by:
Hi, I have this method in my c# vs.net 2003 code: ================= Start Code ================= private void isOutlook() { Microsoft.Win32.RegistryKey key =...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7162
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7539
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7527
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3223
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.