Hi,

thanks for the pointers. I had a look at the dev stuff but nothing jumped 
out at me for my particular problem so I went down the route of adding 
another email address to the notification email.

for future reference if anyone has the same requirement I have modified the 
default customer.pl like this:

=======================
    else {
        if ($CommonObject{UserObject}->CustomerUserAdd(
            %GetParams,
            Comment => "Added via Customer Panel (".
                
$CommonObject{TimeObject}->SystemTime2TimeStamp($CommonObject{TimeObject}->SystemTime()).")",

####modified this from 1 to 2
            ValidID => 2,
####
            UserID => 
$CommonObject{ConfigObject}->Get('CustomerPanelUserID'),
        )) {
            # send notify email
            my $EmailObject = Kernel::System::Email->new(%CommonObject);
            my $Body = 
$CommonObject{ConfigObject}->Get('CustomerPanelBodyNewAccount')
              || "No Config Option found!";
            my $Subject = 
$CommonObject{ConfigObject}->Get('CustomerPanelSubjectNewAccount')
              || 'New OTRS Account!';
            foreach (keys %GetParams) {
                $Body =~ s/<OTRS_$_>/$GetParams{$_}/gi;
            }
            # send account info
            if (!$EmailObject->Send(
              To => $GetParams{UserEmail},

####Added the following line
              Bcc => '[EMAIL PROTECTED]',
####
              Subject => $Subject,
              Charset => 'iso-8859-15',
              Type => 'text/plain',
              Body => $Body)) {
                print $CommonObject{LayoutObject}->CustomerHeader(Area => 
'Core', Title => 'Error');
                print $CommonObject{LayoutObject}->CustomerWarning(
                    Comment => 'Can\' send account info!'
                );
                print $CommonObject{LayoutObject}->CustomerFooter();
            }
=======================

the email address above could be routed to a queue as well so that tickets 
are raised. I might do that next.

thanks again for your help.

Des

"Martin Edenhofer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi Des,
>
> Des Quinn wrote:
>> thank you for that. I wll have a go at that. It should fit my needs :) Is 
>> it possible for a specific agent, or all agents to be notified when a new 
>> customer account is created.
>>
>> I can make it a procedural thing to check for new accounts on a regular 
>> basis but it would be nice if it was possible to get some notification 
>> when new customer accounts were created.
>
> If this case you alos need to add a own notification to the customer.pl, 
> or maybe create new tickets via Kernel::System::Ticket to inform your 
> agents about new customers.
>
> See: http://dev.otrs.org/ or contact ((otrs.de)) for business support. .-)
>
>> Des
>
>  -Martin
> _______________________________________________
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
> Support oder Consulting f�r Ihr OTRS System?
> => http://www.otrs.de/
> 



_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to