最近在用 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 配置相关推荐

  1. gogs mail 配置(邮件服务器使用自颁发证书)

    gogs mail 配置 邮件服务器使用自颁发证书 发送邮件时失败报错提示: 发送测试邮件至 **** 时失败: gomail: could not send email 1: StartTLS: x ...

  2. mailx(mail)配置outlook SMTP方式发送邮件

    0x01,环境介绍: 我们用的是微软的邮箱打算用SMTP方式发送邮件.先登录账户看官方给出SMTP信息. 0x02,系统mailx(mail)设置. 通过命令可以看到,mail实际上是mailx的快捷 ...

  3. Live mail 配置Gmail邮件收发

    接收邮件 (POP3) 服务器 - 需要 SSL: pop.gmail.com 使用 SSL:是 端口:995 发送邮件 (SMTP) 服务器 - 需要 TLS: smtp.gmail.com(使用验 ...

  4. Java mail使用QQ邮箱发送邮件配置方案

    Java mail使用QQ邮箱发送邮件配置方案 java mail配置了QQ邮箱作为服务器发送邮件,结果导致出现503异常: Authentication failed; nested excepti ...

  5. 浅谈 nagios监控配置

    该文档只针对于配置   打乱了commands.cfg templates.cfg contacts.cfg localhost.cfg  timeperiods.cfg  resource.cfg ...

  6. docker安装和配置Grafana

    目录 安装 docker 启动 配置 配置域名和端口 配置ldap 配置邮箱 添加数据源 创建dashboard 配置alert 安装 docker 启动 先普通启动,然后把配置文件导出来,修改配置文 ...

  7. CCNET配置文件配置工具

    当我们在使用CruiseControl.NET进行配置的时候,你会发现配置文件是个非常头痛的事,无从下手,下面我在google找了一个09年的工具,主要是针对CruiseControl.NET进行配置 ...

  8. 配置SSH非管理员用户登录

    以root身份登进系统后,增加一个非root帐户,名称为:systemadmin,密码按您的需求设置一个即可.接下来我们要禁止root直接登陆. [root@mail ~]# useradd syst ...

  9. 详解苹果 macOS Mail 中的零点击漏洞

     聚焦源代码安全,网罗国内外最新资讯! 编译:奇安信代码卫士团队 本文作者 Mikko Kenttälä 在 Apple Mail 中发现了一个零点击漏洞,可添加或修改 Mail 沙箱环境中的任意文件 ...

最新文章

  1. 关于STM32的变量定义
  2. 关系计划笔谈(9-1):泛BOM与虚拟产品
  3. 看本地网速_安装 ANSYS 本地帮助
  4. 利用栈将中缀表达式转化成后缀表达式
  5. 已知三角形三边长怎么求面积_已知三角形三边求面积的公式——海伦公式
  6. nginx的常规配置
  7. [转]Android中handler机制的原理
  8. 牛客练习赛89E-牛牛小数点【数论】
  9. cmake同时生成动态库与静态库的方法
  10. 洛谷P1217回文质数(特判筛选,取巧判断顺序)
  11. jQuery源码06-jQuery = function(){};给JQ对象,添加一些方法和属性,extend : JQ的继承方法,jQuery.extend()...
  12. WIFI 2.4G及5G信道划分表(附无线通信频率分配表)
  13. 如何卸载 3DMAX ?怎么把3DMAX彻底卸载删除干净重新安装的方法
  14. python可用于数据抓取软件_不懂代码也能爬取数据?试试这几个工具
  15. 消消乐游戏原理(附部分代码)
  16. Gradle父子项目构建
  17. 采用RP2040 MCU的树莓派Pico迷你开发板介绍
  18. 深度学习平台的分布式实现综述
  19. python eel 无边框_荐帮你解剖Python的一个轻量级桌面GUI开发第三方库:Eel,让它体无完肤...
  20. 什么是集群和集群的分类

热门文章

  1. Spring对AspectJ的支持
  2. adb命令检测apk启动时间、内存、CPU使用情况、流量、电池电量等——常用的adb命令...
  3. 2.mysql优化---增删改优化
  4. 安装kali linux 2017.1 【二、安装VMware-tools 以及相关问题处理】
  5. poj_3977 折半枚举
  6. lvs-dr模式原理详解和可能存在的“假负载均衡”
  7. call stack and stack buffer overflow
  8. 怀念西电北门的石凳(转载)
  9. CompletableFuture的多线程和异步监听实现
  10. 分享一个有趣的网站“让我帮你百度一下“