Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Read email (with attachments) via POP (Exchange Server)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tiagosoczek@gmail.com - 30 Nov 2007 13:06 GMT
Hello,

I need to read emails from POP (Exchange Server 2007), and get two
files attached. What the best way to do this?

Thanks
Wil Peck - 30 Nov 2007 13:50 GMT
I just wrote a small framework to do exactly what you ask that can be found
on Code Project at
(http://www.codeproject.com/useritems/NetPopMimeClient.asp).  I haven't
tested with Exchange but my guess is you'll be fine.  The framework provides
support for most POP3 commands and converts the POP3 message returned from
the server into its respective MIME parts.  The MIME parts can then in turn
be converted into a MailMessage containing any attachments, including those
of type "message/rfc822".

The source posted provides an example project demonstrating usage and
another with the source.

Please let me know if you have any questions.

Hope this helps.

> Hello,
>
> I need to read emails from POP (Exchange Server 2007), and get two
> files attached. What the best way to do this?
>
> Thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
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



©2008 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.