CruiseControl.NET ----- mail 配置
生活随笔
收集整理的這篇文章主要介紹了
CruiseControl.NET ----- mail 配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
最近在用?CruiseControl.NET實現每日構建,其他配置起來都挺方便,就是在郵件設置上費了不少時間,我用的是CC.NET1.6,這個版本已經支持發送附件,如果使用外部郵箱,記得要把郵箱的smtp功能打開,下面是Mail配置的一個例子:
<email mailport="25" includeDetails="TRUE" mailhostUsername="*****@qq.com" mailhostPassword="******" useSSL="FALSE"> <from>******@sina.com</from> <mailhost>smtp.sina.com</mailhost> <users> <user name="*1" group="leader" address="****@sina.com" /> <user name="*2" group="teamleader" address="*****@sina.com" /> <user name="*3" group="buildmaster" address="****@126.com" /> <user name="*4" group="developers" address="******@qq.com" /> </users> <groups> <group name="CTO"> <notifications> <notificationType>Success</notificationType> </notifications> </group> <group name="teamleader"> <notifications> <notificationType>Fixed</notificationType> </notifications> </group> <group name="developers"> <notifications> <notificationType>Failed</notificationType> <notificationType>Fixed</notificationType> </notifications> </group> <group name="buildmaster"> <notifications> <notificationType>Always</notificationType> </notifications> </group> </groups> <converters> <regexConverter find="{1}quot; replace="@qq.com" /> </converters> <modifierNotificationTypes> <NotificationType>Failed</NotificationType> <NotificationType>Fixed</NotificationType> </modifierNotificationTypes> <subjectSettings> <subject buildResult="StillBroken" value="Build is still broken for {SProject}"/> </subjectSettings> <xslFiles> <file>xsl\header.xsl</file> <file>xsl\compile.xsl</file> <file>xsl\unittests.xsl</file> <file>xsl\modifications.xsl</file> </xslFiles> <attachments> <file><!-- path to file --></file> </attachments> </email>
轉載于:https://www.cnblogs.com/zhaojin/archive/2012/03/06/2382418.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的CruiseControl.NET ----- mail 配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 杭电1262--寻找素数对(打表)
- 下一篇: 利用超级绘图王简化建筑识图课程的教学