Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / October 2006

Tip: Looking for answers? Try searching our database.

Accessing Exchange/Outlook e-mail objects from WinForms v2 applica

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MobileMan - 23 Oct 2006 01:13 GMT
We have a WinForms v2 application whereby users need to take incoming
customer e-mails and place them into the customer's record in SQL Server 05
using drag and drop.  We've finally managed to get most of the DnD issues
resolved.  Now, we need to figure out how to best get a handle to the e-mail
messages.

The way we see this working is the user will have their Outlook client
running on their desktop, along with the WinForms application (it's a
customer service app).  The user will open and read the e-mail - to see who
it's from, subject, where it should be stored, etc., etc. - then "drag and
drop" the message on to the Customer's record in our application.

We have never programatically worked with Exchange, or Outlook, before and
are curious where best to start?  I'd say we need to get to fields like
Sender, Subject, Date & Time, and the Body.  

Does anyone know of a class that represents e-mail messages that we can use
in this way?

Appreciate any and all help - thanks.

Signature

Stay Mobile

Dan Mitchell - 24 Oct 2006 16:42 GMT
> We have a WinForms v2 application whereby users need to take incoming
> customer e-mails and place them into the customer's record in SQL
> Server 05 using drag and drop.

If you're using .Net, you can use WebDAV or the Outlook Object model. If
your app is a normal desktop app, either of those would be fine; OOM is
easier to use, WebDAV is (probably) faster and doesn't require Outlook to
be installed on that PC.

See
http://support.microsoft.com/kb/813349
and
http://support.microsoft.com/kb/872895

for more on the APIs you can use.

-- dan
MobileMan - 24 Oct 2006 18:17 GMT
Yes, this is a Forms v2 application (Windows Forms .NET 2.0), and we'll also
have Outlook on each customer service rep's computer.

Thanks for the info ... hopefully it will point us in the right direction.
Signature

Stay Mobile

> > We have a WinForms v2 application whereby users need to take incoming
> > customer e-mails and place them into the customer's record in SQL
[quoted text clipped - 13 lines]
>
>  -- dan
Dan Mitchell - 24 Oct 2006 18:53 GMT
> Thanks for the info ... hopefully it will point us in the right
> direction.

See http://www.outlookcode.com for coding stuff with the OOM; I don't
know much about WebDAV myself, but here's a sample which is at least
vaguely from the right section of MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/e2k3/e2k3/_esdk_sending_a_message_webdav.asp?frame=true

-- dan
Dan Mitchell - 24 Oct 2006 20:07 GMT
> Thanks for the info ... hopefully it will point us in the right
> direction.

See http://www.outlookcode.com for coding stuff with the OOM; I don't
know much about WebDAV myself, but here's a sample which is at least
vaguely from the right section of MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/e2k3/e2k3/_esdk_sending_a_message_webdav.asp?frame=true

-- dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.