所属分类:
Java编程
开发工具:Java
文件大小:16KB
下载次数:203
上传日期:2004-07-09 17:41:08
说明: 1:文件说明: ExampleServlet.java 发信JAVA源文件 CSEmail.jar 发信包 com CSEmail.jar 的源文件 2:部署: ExampleServlet.java 发到 WEB-INF/CLASSES/ CSEmail.jar 放到 web-inf/lib/ 3. 修改ExampleServlet.java 中 private String SERVLET_HTTP_PATH = "http://www.yourSite.com/servlet/ 把www.yourSite.com 改成你的网址 4运行: http://www.yourSite.com/servlet/ExampleServlet 填写你的SMTP邮件服务器和发信端口,还有你在这个邮件服务器上的帐号(不正确发不出信)
(1: Document explanation that, ExampleServlet.java sends a letter
JAVA source document CSEmail.jar to send a letter wraps com
CSEmail.jar the source document 2: Deployed: ExampleServlet.java sends
to WEB-INF/CLASSES/ CSEmail.jar to put to web-inf/lib/ 3. revises in
ExampleServlet.java private String SERVLET_HTTP_PATH =
"http://www.yourSite.com/servlet/ to alter to www.yourSite.com your
website 4 movements: Http://www.yourSite.com/servlet/ExampleServlet
fills in your SMTP server and sends a letter the port, but also has
you (not correctly not to be able to issue letter) on this server
account number )
文件列表:
Servletmail
...........\com
...........\...\coolservlets
...........\...\............\email
...........\...\............\.....\Address.class
...........\...\............\.....\MalformedAddressException.class
...........\...\............\.....\Message.class
...........\...\............\.....\RecipientType.class
...........\...\............\.....\Transport.class
...........\...\............\.....\Transportable.class
...........\...\............\.....\TransportException.class
...........\CSEmail.jar
...........\ExampleServlet.java
...........\说明.txt
说明.htm