[SOLVED] Agents notification new customer

Moderator: crythias

Post Reply
giorg
Znuny newbie
Posts: 18
Joined: 23 Feb 2011, 17:42
Znuny Version: 3.0.5

[SOLVED] Agents notification new customer

Post by giorg »

Hi all,

how do I notify agents that a new customer has self-registrated?

Thanks a lot
Last edited by giorg on 27 Sep 2011, 15:21, edited 2 times in total.
diginin
Znuny expert
Posts: 213
Joined: 11 Feb 2008, 12:04
Znuny Version: CVS

Re: Agents notification new customer

Post by diginin »

Out-of-the-box? You cannot. You can, however, use the roc script to trigger a registration and send an email to the system that would send a notification to all agents within this queue. Read the example in the source code for more info :).
Shawn Beasley
Contact me per XING
Contact me per LinkedIN

OTRS CVS on Ubuntu Stable.

Image
signature by diginin74, on Flickr

Computers are like air conditioners, when you open windows they are useless.



P.S. (für Leser meiner Deutschtexte) Rechtschreibfehler bitte mit s/.*/$KORREKTUR/ ersetzen.
giorg
Znuny newbie
Posts: 18
Joined: 23 Feb 2011, 17:42
Znuny Version: 3.0.5

Re: Agents notification new customer

Post by giorg »

Hi,

ty for answering. I was more interested in something like this:

http://forums.otrs.org/viewtopic.php?f=37&t=5870

tried to use that code but didnt work, watching the maillog is like ignored... any tip?

Tyvm
diginin
Znuny expert
Posts: 213
Joined: 11 Feb 2008, 12:04
Znuny Version: CVS

Re: Agents notification new customer

Post by diginin »

This will work, I am sure, but is not upgrade safe - FYI. Hope it helps you.
Shawn Beasley
Contact me per XING
Contact me per LinkedIN

OTRS CVS on Ubuntu Stable.

Image
signature by diginin74, on Flickr

Computers are like air conditioners, when you open windows they are useless.



P.S. (für Leser meiner Deutschtexte) Rechtschreibfehler bitte mit s/.*/$KORREKTUR/ ersetzen.
giorg
Znuny newbie
Posts: 18
Joined: 23 Feb 2011, 17:42
Znuny Version: 3.0.5

Re: Agents notification new customer

Post by giorg »

true, I'll keep that in mind. My problem is I did put that code in InterfaceCustomer.pl, right after the message "New account has been created...". I also modified a little that message to debug, to be sure I was in the right place. In fact I saw the modified message, but the mail did not start, nothing on maillog... just ignored. What am I doing wrong?

ty
giorg
Znuny newbie
Posts: 18
Joined: 23 Feb 2011, 17:42
Znuny Version: 3.0.5

Re: [SOLVED] Agents notification new customer

Post by giorg »

Found the problem, charset was wrong:

LayoutObject->{UserCharset}

instead of

$Self->{LayoutObject}->{UserCharset}

ty.
Post Reply