Discussion:
receive email in VB.net
(too old to reply)
Li Weng
2004-11-05 16:26:02 UTC
Permalink
Hi,

I use MailMessage to send emails and it works fine. But I don't know what
object I can use to receive emails. Could you help me with this?
Thanks in advance.

Li
Kevin Yu [MSFT]
2004-11-06 03:59:50 UTC
Permalink
Hi Li,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know how to receive emails
using .net. If there is any misunderstanding, please feel free to let me
know.

As far as I know, System.Web.Mail namespace only provides us with classes
that use SMTP to send mail messages. However, how to receive the mail
messages depends on the mail server you're using. If you're working on an
Exchange Server, please try CDO.

For more information, please check the following link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_o
lemsg_overview_of_cdo.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Li Weng
2004-11-08 13:04:04 UTC
Permalink
Hi, Kevin and Cor:

Thanks a lot!

Li
Post by Kevin Yu [MSFT]
Hi Li,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to know how to receive emails
using .net. If there is any misunderstanding, please feel free to let me
know.
As far as I know, System.Web.Mail namespace only provides us with classes
that use SMTP to send mail messages. However, how to receive the mail
messages depends on the mail server you're using. If you're working on an
Exchange Server, please try CDO.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_o
lemsg_overview_of_cdo.asp
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
Kevin Yu [MSFT]
2004-11-09 02:18:59 UTC
Permalink
You're welcome, Li. Thanks for sharing your experience with all the people
here. If you have any questions, please feel free to post them in the
community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Cor Ligthert
2004-11-06 10:17:38 UTC
Permalink
Li

In addition to Kevin (when his solution does not fit you) can you look at
these pages.
http://www.indyproject.org/indy.html

I would first go for Kevin's solution

Cor
Post by Li Weng
Hi,
I use MailMessage to send emails and it works fine. But I don't know what
object I can use to receive emails. Could you help me with this?
Thanks in advance.
Li
Loading...