sun的javamail中有类似的例子,用servlet,在web发送接受邮件
http://java.sun.com/products/javamail

解决方案 »

  1.   

    其实他的文档把原理讲的很清的。
    再给你几个网址。
    JavaMail API, provides a set of classes for mail and 
      messaging applications. Royalty-free implementations of the 
      API are now available from Sun for SMTP, POP and IMAP - and 
      many other mail systems are supported by third-parties. For 
      more information, visit the official JavaMail page, at 
      http://java.sun.com/products/javamail/     http://java.sun.com/products/javamail/FAQ.html 
      Introduction to the Java Mail API 
    www.javaworld.com/javaworld/jw-06-1999/jw-06-javamail.html http://www.gamelan.com/journal/techworkshop/ 
    WebMail in Java: Reading E-mail 
    http://www.gamelan.com/journal/techworkshop/122799_webmail2.html SMTPMailBean 
    http://www.javacoffeebreak.com/beans/SMTPMailBean/index.html JMail - Free Java(tm) E-Mail Server 
    http://www.jps.at/java/tools/mailserver.html Webmail - A Java mail server with a web interface for reading and sending emails. 
    http://webmail.wastl.net//    The Java Apache Mail Enterprise Server (a.k.a. Apache James) will be a 100% pure Java server application designed to be a complete and portable enterprise mail engine solution based on currently available open protocols (SMTP, POP3, IMAP). 
    http://java.apache.org/james/ 
    http://www.y2kinfo.com/directories/pages/dir.java.net.mail.html Pop3 Provider for JavaMail 
    http://injektilo.org/pop3mail.html WebMail in Java: Reading E-mail 
    http://www.gamelan.com/journal/techworkshop/122799_webmail2.html 另外,我现在也在作这样的工程,看你问的问题知道我比你早走了一步。有什么问题就发帖出来吧,我能帮的一定帮了。
    另外有关2、那里有POP3和SMTP的资料?只有一本中文书籍《Internet Email 协议开发指南》
    想不想跳槽过来?这边缺人。呵呵。对了,机械工业出版社。
      

  2.   

    RE:想不想跳槽过来?这边缺人谢谢您的帮助,很高兴和你交朋友!不知您有没有OICQ,用OICQ聊更快一些啊,我的号是
    1340227
      

  3.   

    我遇到一个问题,javamail用 setSubject,收到的邮件不能显示中文的subject
    怎么办?
    [email protected]