<component>
<role>org.codehaus.plexus.mailsender.MailSender</role>
<implementation>org.codehaus.plexus.mailsender.javamail.JavamailMailSender</implementation>
<configuration>
<smtp-host>smtp.163.com</smtp-host>
<smtp-port>25</smtp-port>
<sslProvider>com.sun.net.ssl.internal.ssl.Provider</sslProvider>
<username>continuum_moshco@163.com</username>
<password>moshco12</password>
<sslMode>false</sslMode>
<!--
<username>mylogin</username>
<password>mypassword</password>
<sslMode>true</sslMode>
-->
</configuration>
</component>
++++++++++++++++++++++++++++++++++++++
--------------------------------------
打开Web页面,选择[Continuum]->[Show Projects],选择[Helloworld_EJB3],选择[Notifiers],点击[Add],进入[Notifier Selection]页面,选择[Mail],点击[Next],进入[Mail Notification]页面,按照如下填写:
--------------------------------------
++++++++++++++++++++++++++++++++++++++
Mail Recipient address:moshco@sina.com 接受邮件的邮箱
Send on Success:moshco12
Send on Failure:moshco_zhu@hotmail.com
Send on Error:选择
Send on Warning:选择
++++++++++++++++++++++++++++++++++++++
--------------------------------------
修改完配置文件,需要重新启动服务!