I want receive an email when I do the the action

Hi,

How could I change this, (I want to store the Mails also) so that the user
that did the action also receive an email.
(I use RT 2.0.13)

I think there was an solution, but I could not found by searched the list.

thx
Christian

– start

http://fsck.com/rtfm/article.html?id=5#73

Why don’t I receive an email when other watchers do?

Are you taking into account that RT should never mail the person performing
the action? RT tries to be smart about this. E-mails are not sent to the
people taking the actions. When you reply to the ticket, RT2 will not send
you the reply since you are the one performing the action, and therefore
know about it. It will only notify other users affected by that scrip.

– end

PS: Is there already an revised script for sending attachments ?

How could I change this, (I want to store the Mails also) so that the user
that did the action also receive an email.
(I use RT 2.0.13)

I use my own SendEmail.pm which ignores this restriction;

http://www.amsterdamned.org/~bc/rt/BC_SendEmail.pm

( Otherwise in our configuration, theres too many people who bemoan the
absence of a mail acknowledging that the ticket system has done
something )

Regards,

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security

Bruce Campbell wrote:

How could I change this, (I want to store the Mails also) so that the user
that did the action also receive an email.
(I use RT 2.0.13)

I use my own SendEmail.pm which ignores this restriction;

Hmm? The restriction isn’t in SendEmail, it’s in Notify.pm.

Comment out these three lines:

@{ $self->{'To'} }  = grep ( !/^$creator$/, @To );
@{ $self->{'Cc'} }  = grep ( !/^$creator$/, @Cc );
@{ $self->{'Bcc'} } = grep ( !/^$creator$/, @Bcc );

and it shouldn’t treat the creator specially.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Bruce Campbell wrote:

How could I change this, (I want to store the Mails also) so that the user
that did the action also receive an email.
(I use RT 2.0.13)

I use my own SendEmail.pm which ignores this restriction;

Hmm? The restriction isn’t in SendEmail, it’s in Notify.pm.

Comment out these three lines:

@{ $self->{'To'} }  = grep ( !/^$creator$/, @To );
@{ $self->{'Cc'} }  = grep ( !/^$creator$/, @Cc );
@{ $self->{'Bcc'} } = grep ( !/^$creator$/, @Bcc );

and it shouldn’t treat the creator specially.

Of course, I really meant BC_Notify.pm from the same directory, which uses
a variable $RT::SendBackToOriginator to control the behaviour :wink:

( now thats embarrassing )

The other way to get around it (which we now use) is to create a user
matching the expand address of your adminccs and have this as the only
watcher address on the queue, which also nicely means that for an admincc
to go on holidays, RT doesn’t need to be told in order to not send mail to
it.

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security