New/Close Ticket - send mail to custom recipient
Moderator: crythias
New/Close Ticket - send mail to custom recipient
Hi,
When CSR open/close a ticket i would like the end user to receive an SMS with the ticket number and status.
I have a system the doing translate from mail to SMS what i need is a way to configure that when ticket is open/closed send mail to dynamicfieldvalue@mydomain.com with subject/body text.
'dynamicfieldvalue' will be the end user Phone Number.
Thanks.
When CSR open/close a ticket i would like the end user to receive an SMS with the ticket number and status.
I have a system the doing translate from mail to SMS what i need is a way to configure that when ticket is open/closed send mail to dynamicfieldvalue@mydomain.com with subject/body text.
'dynamicfieldvalue' will be the end user Phone Number.
Thanks.
OTRS Ver: 3.3.5
-
- 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: New/Close Ticket - send mail to custom recipient
Write your own event module that listens for ArticleCreate and TicketStateUpdate events and send the mail... If you have OTRS development experience, this should be not too difficult...
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New/Close Ticket - send mail to custom recipient
or just use standard notification events ...
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
-
- 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: New/Close Ticket - send mail to custom recipient
@crythias Standard notification system can't send an email to an address that is defined in a dynamic field or did I miss something?
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New/Close Ticket - send mail to custom recipient
it can't. I misread that there's an additional consideration.reneeb wrote:@crythias Standard notification system can't send an email to an address that is defined in a dynamic field or did I miss something?
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: New/Close Ticket - send mail to custom recipient
you are the man!crythias wrote:or just use standard notification events ...
OTRS Ver: 3.3.5
-
- 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: New/Close Ticket - send mail to custom recipient
Can you show us how you configured the notifications? How did you set the recipient address?
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
Re: New/Close Ticket - send mail to custom recipient
well it didn't worked. i just set a notification and i statically i enter the mail address at the "recipient email address" field and it worked and i thought that it will work also if i enter TAGs in this fieled but it is not working.reneeb wrote:Can you show us how you configured the notifications? How did you set the recipient address?
I didn't notice your post that mail address field doesn't accept dynamicfield tags...
any idea? i don't have any developing skills
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New/Close Ticket - send mail to custom recipient
how often is this going to vary from customer, agent, customer to customer, etc.?
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: New/Close Ticket - send mail to custom recipient
Didn't understand. it is actually not an agent or customer but an End User.crythias wrote:how often is this going to vary from customer, agent, customer to customer, etc.?
CSR open ticket for an end user and mention in the ticket his phone number at a dynamic field.
Than i want to send SMS to the end user that a ticket was opened and for that i need to send MAIL to PHONENUMBERDYNAMICFIELD@mydomain.com. When agent close the ticket same will happen to notify the end user the ticket is closed.
end user don't have access to OTRS system in anyway.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New/Close Ticket - send mail to custom recipient
Yes, you'll need to create a ticket event.
viewtopic.php?f=60&t=10090
(It's a bit old, but you can also pull DynamicField_myField).
viewtopic.php?f=60&t=10090
(It's a bit old, but you can also pull DynamicField_myField).
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: New/Close Ticket - send mail to custom recipient
well, i understand nothing in developing and in pearl so i guess SMS option is a no for me.crythias wrote:Yes, you'll need to create a ticket event.
viewtopic.php?f=60&t=10090
(It's a bit old, but you can also pull DynamicField_myField).
why the mail address field doesn't support TAG's? it is something that cannot be done or just no one asked for it?
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: New/Close Ticket - send mail to custom recipient
probably the latter. The need for your specific case has a universe of you at the moment.maayanay wrote:why the mail address field doesn't support TAG's? it is something that cannot be done or just no one asked for it?
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: New/Close Ticket - send mail to custom recipient
universe of me? i didn't understand.crythias wrote:probably the latter. The need for your specific case has a universe of you at the moment.maayanay wrote:why the mail address field doesn't support TAG's? it is something that cannot be done or just no one asked for it?
and my case is not that specific... because once you open it for TAG's the sky is the limit, people can think on whatever they want and they can do (is not only for my SMS case)
OTRS Ver: 3.3.5
Re: New/Close Ticket - send mail to custom recipient
if you need such a functionality we would be happy to develop it for you.
"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
Re: New/Close Ticket - send mail to custom recipient
yes i need. can you send me price offer to my email?jojo wrote:if you need such a functionality we would be happy to develop it for you.
OTRS Ver: 3.3.5
Re: New/Close Ticket - send mail to custom recipient
please send a mail to sales@otrs.com
"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