468,760 Members | 1,744 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,760 developers. It's quick & easy.

connectiong to a SMTP server

how can i connect to a smtp server and check my email account if i have e
mails and maybe looking at their subject, etc,..
couldnt fnd a place for smtp commands and cnonecting to a smtp server??
Nov 15 '05 #1
3 1437
If you want to read emails, I would use the POP3 protocol. I think the SMTP
protocol is for sending emails. Please correct me if I'm wrong!

To read emails through POP3, check out for example this article:
http://www.programmersheaven.com/2/Art_CSharp_3
--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan

"Serdar C." <se*****@interaktif.gen.tr> schreef in bericht
news:OD**************@TK2MSFTNGP11.phx.gbl...
how can i connect to a smtp server and check my email account if i have e
mails and maybe looking at their subject, etc,..
couldnt fnd a place for smtp commands and cnonecting to a smtp server??

Nov 15 '05 #2
Serdar C. <se*****@interaktif.gen.tr> wrote:
how can i connect to a smtp server and check my email account if i have e
mails and maybe looking at their subject, etc,..
couldnt fnd a place for smtp commands and cnonecting to a smtp server??


SMTP is used for *sending* mails - you need to work out whether you've
got a POP3 or IMAP server (or something else), and find the appropriate
commands for *that*. When you know what type of server you're looking
at, a google search for that name and "RFC" is likely to help.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #3
Serdar,

As others have mentioned, you want to look at either the IMAP or POP3
protocol for connecting to your email server and reading the emails that
might be located in an account on that server.

In order to do that, you might want to look into using the Collaboration
Data Objects (CDO), which you can use to connect to various accounts and get
information about them.

Hope this helps.

i

"Serdar C." <se*****@interaktif.gen.tr> wrote in message
news:OD**************@TK2MSFTNGP11.phx.gbl...
how can i connect to a smtp server and check my email account if i have e
mails and maybe looking at their subject, etc,..
couldnt fnd a place for smtp commands and cnonecting to a smtp server??

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Nancy | last post: by
3 posts views Thread by dale zhang | last post: by
34 posts views Thread by antonyliu2002 | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.