Add a customer and send an email automatically

Moderator: crythias

Locked
Edum
Znuny newbie
Posts: 12
Joined: 15 Jun 2016, 12:23
Znuny Version: 4.0.6

Add a customer and send an email automatically

Post by Edum »

Hello

How I can do that when I add a customer you send an e-mail automatically?

Thanks
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Add a customer and send an email automatically

Post by reneeb »

Create an event module that listens for the CustomerUserAdd event... You may use https://github.com/reneeb/otrs-Customer ... eTicket.pm as a template...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Edum
Znuny newbie
Posts: 12
Joined: 15 Jun 2016, 12:23
Znuny Version: 4.0.6

Re: Add a customer and send an email automatically

Post by Edum »

Must be put in automatic responses or templates?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Add a customer and send an email automatically

Post by reneeb »

You can see the directory structure at https://github.com/reneeb/otrs-Customer ... eateTicket

I have to replace the code in the module linked above with some code that sends the email instead of creating a ticket.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked