473,769 Members | 2,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading mails from c#

GSK
Hi,

Can any once suggest me how i can read inbox mails from C#. Does .NET
support any component or do i need to use the Mapi interop.

Thanks...
GSK.
Mar 17 '06 #1
2 1478
Hello GSK,

If you use Exchange/Outlook, you can connect to them via OLEDB. String for
connect is below

"Microsoft.Jet. OLEDB.4.0;Outlo ok 9.0;MAPILEVEL=P ersonal Folders|;PROFIL E=Outlook;TABLE TYPE=0;DATABASE =c:\temp;"

G> Can any once suggest me how i can read inbox mails from C#. Does .NET
G> support any component or do i need to use the Mapi interop.
G>
G> Thanks...
G> GSK.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Mar 17 '06 #2
I recently discovered this gem:
http://www.lesnikowski.com/Projects/Mail/Index.aspx

--
HTH

ric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Concept S2i inc. (www.s2i.com)
http://emoreau.s2i.com/

"GSK" <GS*@discussion s.microsoft.com > wrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hi,

Can any once suggest me how i can read inbox mails from C#. Does .NET
support any component or do i need to use the Mapi interop.

Thanks...
GSK.

Mar 18 '06 #3

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

Similar topics

4
1982
by: WebRod | last post by:
Hi everybody, I just would like to download the new mails I received on my POP3 server (and keep a copy on the server) I use PHP 4.3 and IMAP functions (they are compatible with both POP3 and IMAP servers). When I use OUTLOOK, no problem, in less than 5 seconds, it answers me: " you have XX new messages"
7
3521
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server administrator told me to write the emails to the “pickup directory” instead. I know that JMail can do this in ASP, but how do you do this in asp.net? -- --------------------
2
1143
by: jamal | last post by:
hi guys I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb) If you know anything about this subject please feel free to let me know. I learn how send but not receive. thanks Jamal
1
1378
by: Richard | last post by:
Hi Friends, How can I read and delete outlook e-mails from vb.net. I'll appreciate your help. RC
4
2024
by: ethan220 | last post by:
Is it possible to read Outlook mails in PHP?? I would like to create a php program that reads mails from a particular person which are downloaded in MS Outlook. Ethan
2
6203
by: beeswax | last post by:
Hi, Does anyone knows how to read e-mails from a specific folders in outlook? I only found out how to read the mails from the inbox folder and how to list all available folder. I just don't found a way to access my mails from the other folders. Can anyone help me?
1
1156
by: ckok | last post by:
Hi, I am coding an application that gets all the mails(exchange server) in a folder and then enumerates all the attachments. But some mails have slashes("\") in the subject and display name. I am unable to access these mails, since each slash is being treated as a new directory. How do I access thes mails? I am using webdav and c# .net. thank you, CK
0
1318
by: teddy06 | last post by:
I have written code for read mails from exchange server. I have used webdav in my code. Its was working fine once upon a time. Currently configuration settings of client has been changed . so i am getting login timeout error. Can you pls help me out ? I dont know whether the WEBDAV is enabled or disabled.even i do not have access to enable it and see the configuration settings. pls provide some sample code for reading mails from...
2
1314
Maidenz08
by: Maidenz08 | last post by:
Can you please shed some light on how to capture incoming and outgoing mails from third party mail providers like yahoomail and gmail on a particular machine. I am able to read mails sent or recieved from outlook but what is the methodology that can be used to capture mails through other mail providers. Thanks in advance
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9996
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8872
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5307
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3964
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.