473,398 Members | 2,380 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,398 software developers and data experts.

how do I connect to an exchange server programatically to get email?

I want to write an outlook plug-in or even a separate app if necessary to
connect to an exchange server to get mail off of it. My outlook is
currently connected to Exchange server A, I need to get mail from Exchange
server B and put it on Exchange server A. I'm tired of using multiple
Outlook profiles. How do I connect to an exchange server programmatically
and get mail? I'd like to do it as a plug in, but if it needs to be a
separate app that connects to both exchange servers that's fine too.

I have Visual Studio 2005 and VSTO

Any help would be greatly appreciated. There seems to be a lot of info on
SMTP mail but not exchange server stuff. Most of the exchange server stuff
needs to run on the exchange server.

Thanks in advance,
Jim
Mar 13 '06 #1
1 4202
Search through the MSDN for "WebDAV", you can use this in .NET to
connect to an exchange server and perform any task that outlook can
perform. Create new mail, delete mail, create public folder items
etc...

When connecting with WebDAV, you can specify what mailbox you want to
connect to and such.

There is examples of WebDAV in the Exchange SDK

Mar 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
9
by: Tom Dacon | last post by:
I have a little desktop application (it happens to be a Windows Forms analog clock) that's written in VB.Net (2003). I placed a shortcut in my Startup program group to start it up when I log on. I...
3
by: hkappleorange | last post by:
I connect to mdb file using the following codes. How should I modify it if I want to connect to Excel instead ? <%@ Import Namespace="System.Data.OleDb" %> <% Dim conAuthors As...
4
by: dezso.bolyan | last post by:
Hallo! I need to connect to MS Exchange Server and get any email with attechments. Use of IMAP and POP3 are not allowed on this Exchange Server. Have anybody any idea, how can I resolve this...
0
iamnandagopal
by: iamnandagopal | last post by:
Hello Guys, I would like to know how to send mails programatically using C#. My mail server is an Microsoft Exchange. I dont have much idea about Microsoft Exchange. I would really appreciate...
2
by: rdemyan | last post by:
I've added the ability to send e-mails from MyApp using CDO. I would like to programatically get the name of the Microsoft Exchange Server. How do I do that? Thanks.
1
by: vibhavleo | last post by:
I am using the Microsoft Office 11.0 Object library to connect to outlook. My code is as follows: _ApplicationPtr application("Outlook.Application"); CComPtr<_NameSpace> ns;...
2
by: =?Utf-8?B?RGF2aWRF?= | last post by:
Hi, I try to connect to Exchange server using MAPI. I need to access a special user inbox and read all his new mails. The code I wrote work good, but I get my inbox instead of the user I need....
1
by: chelluchittibabu | last post by:
hi, pls tell me if you know regarding ms exchange server 2007. In my system i am using windows 2003. what i want is 1. how to connect ms exchange server 2007 from .net 2. how to get data...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.