用jmail组件吧
网上的相关资料最多了,我的毕业设计就是用jmail组件开发基本web的邮件客户端系统!
jmail pro版支持pop和smtp,free版好像不行的!
你也可以用webeasymail,cdo等,还有一些牛人自己写的控件!

解决方案 »

  1.   

    Private Sub btnSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click
            Dim ms As New jmail.Message
            ms.Subject = txtSubject.Text
            ms.Body = txtBody.Text
            ' ms.ContentType = "text/html"
            '如果不设置这个东西附件就不会内嵌在邮件中,高。
            ms.From = "[email protected]"
            ms.AddRecipient(txtTo.Text)
            ms.MailServerUserName = "zzq9624"
            ms.MailServerPassWord = "xxxx"
            ms.ContentTransferEncoding = "base64"
            ms.Encoding = "gb2312"
            ' ms.ISOEncodeHeaders = True
            ' ms.MimeVersion = "1.0"        Dim mytype As String        ' mytype = txtPath.PostedFile.ContentType.ToString
            ms.Charset = "iso-8859-1"
            '  ms.AddAttachment(txtPath.PostedFile.FileName, True, mytype)        Try
                ms.Send("smtp.163.com")
                Response.Redirect("postsuccess.aspx?mailto=" + txtTo.Text)
            Catch ex As Exception
                Response.Write(ex.Message)
            End Try    End Sub
    ‘收的部分代码  Dim msg As jmail.Message
            Dim pop3 As New jmail.POP3
            pop3.Timeout = 10
            Try
                pop3.Connect("zzq9624", "nihaoma", "pop.163.com")
                lblReceive.Text = pop3.Count
              ’  lblrnum.Text = pop3.GetLastUnreadMessage
                lbltrnum.Text = (pop3.Size / 1000).ToString        Catch ex As Exception
                Response.Write(ex.Message)
            Finally
                pop3.Disconnect()
            End Try
      

  2.   

    http://expert.csdn.net/Expert/topic/2768/2768209.xml?temp=.1611597
    http://expert.csdn.net/Expert/topic/2781/2781144.xml?temp=.8964502
      

  3.   

    cdo 和Webeasymai好象都只有发信功能,不具备收信功能.!
    而JMail对双字节的文字,例如中文,日文,韩文等的邮件,支持不好,经常会产生乱码.
      

  4.   

    一般都用Jmail,另外在。net里面也有邮件的接受
      

  5.   

    。net里面也有邮件的接受? 是哪个类?