Cruisecontrol. Net: email publisher cc.net mail configuration (recommended for beginners)

Source: Internet
Author: User
Tags xsl

Every night these days, I have been learning to use cc.net. Other modules are well-configured, but the mail setting takes a long time. The reason is that there is no good description on the Internet, I will record my debugging process as follows (the second point should be carefully read for beginners like me ):

I. The configuration file must be correctly written and carefully written. If it is worse than me, I set the mailhostusername node twice, "*****" is not added with "QQ.com"; "QQ. CO "has a letter" M "missing, although this makes the configuration file verification work ccvalidator will not report an error, but it will certainly fail to run. I copy a copy of my local copy for your reference:

<Email mailport = "25" includedetails = "true" mailhostusername = "***** @ QQ.com" mailmailhostpassword = "*****" usessl = "false"> <from> ***** @ QQ.com </from> <mailhost> smtp.qq.com </mailhost> <users> <user name = "* 1" group = "Leader" address = "***** @ hotmail.com"/> <user name = "* 2" group = "teamleader" address = "***** @ 163.com"/> <user name =" * 3 "group =" buildmaster "address =" ***** @ 126.com"/> <user name = "* 4" group = "developers" address = "***** * @ QQ.com "/> </users> <Groups> <group name =" CTO "> <communications> <icationicationtype> fixed </icationicationtype> </communications> </group> <group name = "teamleader"> <communications> <icationicationtype> fixed </icationicationtype> </communications> </group> <group name = "developers"> <communications> <icationicationtype> failed </notificationtype> <notificationtype> fixed </notificationtype> </ications> </group> <group name = "buildmaster"> <communications> <icationicationtype> always </icationicationtype> </notifications> </group> </Groups> <converters> <regexconverter find = "{1} quot; replace = "@ QQ.com"/> </converters> <modifiernotificationtypes> <icationicationtype> failed </notificationtype> <icationicationtype> fixed </notificationtype> </jec> <subjectsettings> <subject buildresult = "stillbroken" value = "build is still broken for {ccnetproject}"/> </subjectsettings> <program files> <File> XSL \ header. XSL </File> <File> XSL \ compile. XSL </File> <File> XSL \ unittests. XSL </File> <File> XSL \ modifications. XSL </File> </Program Files> <attachments> <File> E: \ testspace \ ccnetgroup \ first \ other \ afile.txt </File> <File> relative.txt </File> </attachments> </Email>

2: Make sure to enable SMTP in the mailbox, because cc.net only supports SMTP, and most mailboxes are disabled by default. For this reason, ccvalidator will report an unused node exception; take QQ mail as an example. The settings are as follows:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.