创建邮件数据库
database.driverClassName=com.mysql.jdbc.Driver database.url=jdbc:mysql://localhost:3306/email database.username=root database.password=123456 vendorAdapter.database=MYSQL openjpa.streaming=false
添加邮箱地址:
james-cli.bat -h localhost -p 9999 adddomain soyoungboy.com
为邮件服务器添加邮件用户:
james-cli.bat -h localhost -p 9999 adduser wfb@soyoungboy.com 123456
james测试:
互发邮件表示ok
原文:http://www.cnblogs.com/androidsuperman/p/7506576.html