Email to admin after new customer self registration

Moderator: crythias

Locked
savanagana
Znuny newbie
Posts: 2
Joined: 03 Sep 2010, 11:57
Znuny Version: 2.4.7

Email to admin after new customer self registration

Post by savanagana »

Hi
im an OTRS newbie, i configured it and everything works.
I have just a question at the moment:
i would want to receive an email after a new customer self registration.
is it possible ?
According to me it is really important because receveing the mail i can know instantly that a new customer is registered to the system , so i can set up his queues, and the customer can start to open ticket.

so in wich way can i implemet this notification after a new customer registration ?
thanks
savanagana
Znuny newbie
Posts: 2
Joined: 03 Sep 2010, 11:57
Znuny Version: 2.4.7

Re: Email to admin after new customer self registration

Post by savanagana »

the solution is:

edit this file:
/opt/otrs/Kernel/Web/InterfaceCustomer.pl
writing:

send to admin when new user is created
my $Sent = $EmailObject->Send(
To => 'trallallero@blablabla.it',
Subject => 'New Customer: '.$GetParams{UserLogin},
Charset => $Self->{LayoutObject}->{UserCharset},
MimeType => 'text/plain',
Body => 'the customer '.$GetParams{UserLogin}
);
Locked