473,440 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,440 software developers and data experts.

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

9
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 2478
tlhintoq
3,525 Expert 2GB
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
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
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
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
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
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
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
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
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
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
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.