Hi Ruben,

I independently decided I'd try adding a <group>. I'm now seeing smtp
error messages in the log file.

I had referred to the docs there before, but this statement led me to
believe I did not need my email users to be in a group:
        The groups node may be empty, but the group section must exist.

Apparently that's not the case :)

Thanks for your help.

On Mar 19, 11:36 am, Ruben Willems <[email protected]> wrote:
> Hi
>
> you must see something like
> Emailing "<projectName> Build Failed" to [email protected]
>
> you should see this, even if the exchand would block, or throw an error.
>
> unless there is an error in in the email publisher itself,
> so it can not map the userids
> if there are no userids mapped to email adresses, no message will be sent
>
> now the problem is, there is no log before when no message is sent :-(
>
> looking at your config, I think this is the problem
> your user does not belong to a group, and there is no
> modifierNotificationTypes section
>
> so ccnet does not know when to send a mail.
>
> to test this, I would change the group section into
> <groups>
>         <group name="buildmaster" notification="always"/>
>     </groups>
>
> and make the user part of that group
>
> now you should see some stuff in the log
> and hopefully get a mail.
>
> check the docs at 
> :http://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher
>
> with kind regards
> Ruben Willems
>
> On Thu, Mar 19, 2009 at 4:25 PM, badfrog <[email protected]> wrote:
>
> > Hi Ruben,
>
> > I don't see anything like that in the ccnet.log file when I force a
> > build for the project in question.
>
> > Here's the publishers section for this project -- everything's been
> > anonymized a bit :)
>
> >                <publishers>
> >                        <xmllogger/>
> >                        <email from="[email protected]" mailhost="
> > exchange.domain.com"
> > includeDetails="TRUE" mailhostUsername="domain\user"
> > mailhostPassword="domainPassword">
> >                                <users>
> >                                        <user name="[email protected]"
> > address="[email protected]"/>
>
> >                                </users>
> >                                <groups/>
> >                        </email>
> >                </publishers>
>
> > I am attempting to send through an exchange server. I can telnet to
> > the exchange server on port 25 from my build server, and I've also
> > tried without the user/password attributes. The from and to users are
> > both set to my address. Searching for my email in the ccnet.log file
> > immediately after triggering a build turns up no results. I've forced
> > about 20 builds on this project so far today trying to sort out what's
> > going on, so if there were something being put in the log, I'm sure
> > it'd show up.
>
> > I'm trying to verify that ccnet is indeed attempting to send a
> > message, and any error it's getting, before I bug the exchange admin
> > about this.
>
> > Any ideas?
>
> > On Mar 19, 11:10 am, Ruben Willems <[email protected]> wrote:
> > > Hi
>
> > > stop the ccnet service, and start the console
> > > make a change that will trigger a mail (force build, adjust source ...)
>
> > > you should see in the console window like
> > > emailing : username
>
> > > if you can not stop the service, you may find this info in the log files
> > > (CCNet.log files )
>
> > > with kind regards
> > > ruben willems
>
> > > On Thu, Mar 19, 2009 at 3:58 PM, badfrog <[email protected]> wrote:
>
> > > > Sorry to thread-jack, but I'm having a similar problem, trying to nail
> > > > down whether it's due to exchange or ccnet. What would I look for (and
> > > > where) to verify that ccnet is indeed attempting to send an email?
>
> > > > Thanks.
>
> > > > On Mar 18, 9:33 am, Ruben Willems <[email protected]> wrote:
> > > > > Hi
>
> > > > > do you see any errors in the log, or the event log ?
>
> > > > > with kind regards
> > > > > Ruben Willems

Reply via email to