Tickets/Email
Moderator: crythias
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Tickets/Email
I would like to change the way tickets are added into the database. When support emails are fetched from the server and entered as tickets, I'd like to change the subject and body of the emails/tickets. How can I do this, or what script should I edit to do this?
Re: Tickets/Email
Postmaster Filter
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Re: Tickets/Email
Where is that located?
Re: Tickets/Email
in the admin interface
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Re: Tickets/Email
I see why you directed me there. However, in order to change it the way I'd like, I need to access a MySQL database for information, therefore I think I'd have to edit the actual script perhaps.
A list of customers is in the MySQL database, and I want to check that list, see if the email is recognized as a customer, then append, say "Recognized Customer" to the subject of the email before OTRS ingests it.
A list of customers is in the MySQL database, and I want to check that list, see if the email is recognized as a customer, then append, say "Recognized Customer" to the subject of the email before OTRS ingests it.
Re: Tickets/Email
check Kernel/System/Postmaster.pm (and subfolder). OTRS is already checking if the mail is from a customer to assign CustomerUser and CustomerID to the ticket
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- 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: Tickets/Email
You have to write your own PostmasterFilter (see thread viewtopic.php?f=61&t=18186&p=71564&hili ... ter#p71564)
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Re: Tickets/Email
I don't think that will work. It needs to edit the actual email subject and body before the email is entered into OTRS. What is the script that actually creates a ticket from an email, and what is the script that actually harvests emails for OTRS?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Tickets/Email
Then you should do this at the point it enters the mailbox.barrett wrote: It needs to edit the actual email subject and body before the email is entered into OTRS
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Tickets/Email
check Kernel/System/Postmaster.pm (and subfolder). OTRS is already checking if the mail is from a customer to assign CustomerUser and CustomerID to the ticket
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Re: Tickets/Email
Crythias,
It may not be a strictly OTRS issue, but do you have any idea how that might be done?
It may not be a strictly OTRS issue, but do you have any idea how that might be done?
-
- 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: Tickets/Email
@barret: That's what PostMaster-Pre-Filters are for. You can change the values of the mail before the ticket is created...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 6
- Joined: 28 Nov 2012, 22:26
- Znuny Version: OTRS 3.1
- Real Name: Edward
- Company: Barrett Technology
Re: Tickets/Email
What/where are PostMaster prefilters and how can I change them?
-
- 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: Tickets/Email
have you read the post that I've linked?reneeb wrote:You have to write your own PostmasterFilter (see thread viewtopic.php?f=61&t=18186&p=71564&hili ... ter#p71564)
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de