开发者

CruiseControl.Net Publisher email failing to send e-mail

开发者 https://www.devze.com 2022-12-29 22:27 出处:网络
So here\'s my problem: I cannot seem to be able to configure CruiseControl.NET to send out an e-mail to me when a build occurs ( I want it to always send me an e-mail, as specified below)

So here's my problem:

I cannot seem to be able to configure CruiseControl.NET to send out an e-mail to me when a build occurs ( I want it to always send me an e-mail, as specified below)

I copied the example from the documentation and filled it in with my own values. http://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher

Here's the relevant section of ccnet.config below

<publishers>
      <merge>
        <files>
          <file>C:\Build\Temp\*.xml</file>
        </files>
      </merge>
      <xmllogger logDir="buildlogs" />
      <statistics>
        <statisticList>
          <statistic />
        </statisticList>
      </statistics>

      <email includeDetails="TRUE" mailhostUsername="user" mailhostPassword="password" useSSL="TRUE">
        <from>me@mycompany.com</from>
        <mailhost>mail.mycompanysmtpserver.com</mailhost>
        <users>
            <user name="MyName Lastname" group="buildmaster" address="me@mycompany.com" />
        </users>
        <groups>
            <group name="buildmaster">
              <notifications>
                <notificationType>Always</notificationType>
              </notifications>
            </group>
        </groups>
        <modifierNotificationTypes>
            <NotificationType>Failed</NotificationType>
            <NotificationType>Fixed</NotificationType>
        </modifierNotificationTypes>
        <subjectSettings>
            <subject buildResult="StillBroken" value="Build is still broken for {CCNetProject}" />
        </subjectSettings>
      </email>

    </publishers>

I have had a successful CruiseControl.NET server configured for some time, and it successfully updates people through CCTray, but I need to add e-mail support as well.

I've already looked at the relevant StackOverflow articles like this one and many more and tried my hand at googling the solution but I dont know what I could be doing wrong. The only other thing that I'd like to validate is that I can send/receive e-mails using my username/password with the SMTP server I received from IT

EDIT: I confirmed thru telnet that the SMTP server is working properly by following steps 1-5 in this article.

Anyone have any ideas as to why I'm getting this problem, or how to troub开发者_StackOverflow社区leshoot it further?


It looks like it was an SMTP server issue, not an issue with CruiseControl.net

See the comments under my post for more information. Testing using my personal gmail account resulted in a successful e-mail.

0

精彩评论

暂无评论...
验证码 换一张
取 消