Auto add new customers

Moderator: crythias

Locked
Jeanette
Znuny newbie
Posts: 15
Joined: 07 Mar 2013, 13:25
Znuny Version: 3.0.11
Real Name: Jeanette Svendsen
Company: Maze Feedback

Auto add new customers

Post by Jeanette »

Is there any way to automatically add new customers who send in emails to an existing customer company?

All customer emails are in the format firstname.lastname@companyname.something.

All Customer companies are registered with a unique customerID. So maybe a filter on companyname in email address could add a header to the email to identify the customerID and then set first name and last name based on the rest of the email address?

Edit: OTRS v3.0.11 on Windows btw.
Last edited by Jeanette on 07 Mar 2013, 16:07, edited 1 time in total.
OTRS Version: 3.2.2, OS: Windows Server 2012, Database: MSSQL
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: Auto add new customers

Post by reneeb »

You could do that by writing you own Postmaster filter module in Perl...
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
Jeanette
Znuny newbie
Posts: 15
Joined: 07 Mar 2013, 13:25
Znuny Version: 3.0.11
Real Name: Jeanette Svendsen
Company: Maze Feedback

Re: Auto add new customers

Post by Jeanette »

Can I create a customer there as well?

Any ideas on how this would look? I've not programmed anything for OTRS before and am not great at Perl...
OTRS Version: 3.2.2, OS: Windows Server 2012, Database: MSSQL
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: Auto add new customers

Post by reneeb »

Yes, you can create customers there... Search the forum for postmaster filters. I've posted a few...
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
Jeanette
Znuny newbie
Posts: 15
Joined: 07 Mar 2013, 13:25
Znuny Version: 3.0.11
Real Name: Jeanette Svendsen
Company: Maze Feedback

Re: Auto add new customers

Post by Jeanette »

Cool, thanks!
OTRS Version: 3.2.2, OS: Windows Server 2012, Database: MSSQL
Locked