Here is a working example of one that will only send an email to a dev
who broke the build. Hope this helps getting it working.


<email from="[EMAIL PROTECTED]"
mailhost="emailserver.mycomapny.com" includeDetails="True">
      <users />
      <groups>
        <group name="buildmaster" notification="failed"/>
      </groups>
      <converters>
        <regexConverter find="$" replace="@mycompany.com" />
      </converters>
      <modifierNotificationTypes>
        <NotificationType>Failed</NotificationType>
      </modifierNotificationTypes>
    </email>

On Oct 14, 4:12 am, "Ruben Willems" <[EMAIL PROTECTED]> wrote:
> Hi
>
> There is a users tag needed.
> it may be empty : <users />
>
> The converters can reduce the configuration if all the ids of the
> sourcecontrol can
> be mapped to an email adres, following a certain 'logic'
> for the moment there is the regex converter
> --> this applies regular expressions on the username
> check the docs 
> athttp://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher
>
> with kind regards
> Ruben Willems
>
> 2008/10/14 Edwin <[EMAIL PROTECTED]>
>
>
>
>
>
> > if no user tag or empty users tag,it still report errors.
> > how converts tag can help to reduce configuration text?
> > Thanks Alex.
> > On 10月3日, 下午7時34分, Alex <[EMAIL PROTECTED]> wrote:
> > > You either need a user tag with an email or no user tag at all.
> > > Personally, as we can map everyone, we just have an empty users tag
> > > with no user tags at all defined.
>
> > > On Oct 3, 5:48 am, Edwin <[EMAIL PROTECTED]> wrote:
>
> > > > I want to use Converts to convert email like document mention.
> > > > The <converters> configuration specifies rules for transforming user
> > > > names (from <user> elements) to email addresses in cases where the
> > > > <user> element does not specify an address. The converters are ignored
> > > > when the <user> element specifies an address.
> > > > But in <user> tags if I don't specify an address,cc.net service would
> > > > throw exception said that <user> tags need an attribute address...is
> > > > that a bug or my fault?
> > > > I use CC.Net 1.4.0.3524. Thanks for help- 隱藏被引用文字 -
>
> > > - 顯示被引用文字 -- Hide quoted text -
>
> - Show quoted text -

Reply via email to