C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old June 26th, 2002, 09:31 AM
mitchell mitchell is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Bournemouth, England
Posts: 28 mitchell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 23 sec
Reputation Power: 0
Send a message via ICQ to mitchell Send a message via MSN to mitchell
Talking polling/poping email accounts with c#

Hiya

We're currently writing a huge app for my company that will control everything that the users can do while they're in the office but I'm got stuck on one thing - email!!!

Its no problem to create and send emails and attachments using c# but does anyone know how you poll or pop a mail server to pick up mail?

Thanks
Mitchell

Reply With Quote
  #2  
Old June 27th, 2002, 07:26 AM
Lord MJ Lord MJ is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 34 Lord MJ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 57 m 2 sec
Reputation Power: 7
Send a message via AIM to Lord MJ Send a message via Yahoo to Lord MJ
If you were using Java you could just use JavaMail

Reply With Quote
  #3  
Old July 1st, 2002, 11:12 AM
mitchell mitchell is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Bournemouth, England
Posts: 28 mitchell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 23 sec
Reputation Power: 0
Send a message via ICQ to mitchell Send a message via MSN to mitchell
Lightbulb The Long Way Round

Hiya

For anyone thats interested, the only way to do this seems to be using TCPClient, connecting to port 110 and manually sending and receiving commands, arguments and server responses as byte arrays!!

I've currently got as far as connecting to any POP server I specify, sending suitable commands and arguements and receiving server responses. I've got all the commands w3orking (except one) and am processing the responses. The only things I haven't done yet is get APOP working (user authentication without sending passwords as clear text), and to process the huge variety of headers and mime encoded bodies.

Once I've got those bits sorted I might post the code somewhere if anyones interested in having it!

Mitchell

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > polling/poping email accounts with c#


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway