GenericAgent - send mail?
Moderator: crythias
-
- Znuny expert
- Posts: 173
- Joined: 22 Sep 2016, 11:44
- Znuny Version: 6.0.38
- Real Name: Tux
- Location: Germany
- Contact:
GenericAgent - send mail?
OTRS 5.0.23
Hi all,
is it possible that the GenericAgent can send a mail after his job.
Regards, Tom.
Hi all,
is it possible that the GenericAgent can send a mail after his job.
Regards, Tom.
-----------------------
Debian
OTRS 6.0.38, ITSM 6
Debian
OTRS 6.0.38, ITSM 6
-
- Znuny newbie
- Posts: 88
- Joined: 31 Jul 2013, 16:52
- Znuny Version: 5.0.20
- Real Name: Benoît MICHELOT
- Company: Amphenol Air LB France
- Contact:
Re: GenericAgent - send mail?
Hi,
I have done it on a previous version to send reports.
See topic here : viewtopic.php?f=53&t=21845&p=86437#p86437
We stopped using the Generic Agent.
We are now using CronJob !
Regards,
I have done it on a previous version to send reports.
See topic here : viewtopic.php?f=53&t=21845&p=86437#p86437
We stopped using the Generic Agent.
We are now using CronJob !
Regards,
-
- Znuny expert
- Posts: 173
- Joined: 22 Sep 2016, 11:44
- Znuny Version: 6.0.38
- Real Name: Tux
- Location: Germany
- Contact:
Re: GenericAgent - send mail?
Hi,
i need to find and delete mails in the automatic GA job. How does it work in a CronJob?
Regards
i need to find and delete mails in the automatic GA job. How does it work in a CronJob?
Regards
-----------------------
Debian
OTRS 6.0.38, ITSM 6
Debian
OTRS 6.0.38, ITSM 6
-
- Znuny newbie
- Posts: 88
- Joined: 31 Jul 2013, 16:52
- Znuny Version: 5.0.20
- Real Name: Benoît MICHELOT
- Company: Amphenol Air LB France
- Contact:
Re: GenericAgent - send mail?
Hi Tom,
If you need to select and delete tickets, the GA can do the job.
You juste have to set the filters parameters and set "Delete tickets" to yes in the Execute Ticket Commands section.
To be honest, I am note sure to have understood your request.
First you said that you want to send mails, and now you say that you want to delete mails...
Could you please provide more details on what you really want to do ?
Regards,
If you need to select and delete tickets, the GA can do the job.
You juste have to set the filters parameters and set "Delete tickets" to yes in the Execute Ticket Commands section.
To be honest, I am note sure to have understood your request.
First you said that you want to send mails, and now you say that you want to delete mails...
Could you please provide more details on what you really want to do ?
Regards,
-
- Znuny wizard
- Posts: 470
- Joined: 20 Nov 2011, 16:08
- Znuny Version: 6.5.4
- Real Name: Schulmann
Re: GenericAgent - send mail?
Yes.tuxtom wrote:is it possible that the GenericAgent can send a mail after his job.
In the Generic Agent (Execute Ticket Commands) you can call a shell script with the ticket number and the ticket id.
In this script you can call /usr/bin/mail and include the ticket number if desired.
Znuny6/Debian/ESXi
-
- 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: GenericAgent - send mail?
Why not set a dynamic field in the ticket when the GA did the job? Then you can use the ticket notifications...
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 wizard
- Posts: 470
- Joined: 20 Nov 2011, 16:08
- Znuny Version: 6.5.4
- Real Name: Schulmann
Re: GenericAgent - send mail?
We were not able to send a mail to an arbitrary mail address with a GA.reneeb wrote:Why not set a dynamic field in the ticket when the GA did the job? Then you can use the ticket notifications...
Is this possible?
Znuny6/Debian/ESXi
Re: GenericAgent - send mail?
Hi,
Generic Agent can NOT send mails. But Generic Agent can change settings on a ticket.
And as reneeb already wrote... a ticket notification can trigger on the changes and send mails.
Florian
Generic Agent can NOT send mails. But Generic Agent can change settings on a ticket.
And as reneeb already wrote... a ticket notification can trigger on the changes and send mails.
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny expert
- Posts: 173
- Joined: 22 Sep 2016, 11:44
- Znuny Version: 6.0.38
- Real Name: Tux
- Location: Germany
- Contact:
Re: GenericAgent - send mail?
Hi,
i solve the mail problem with a script.
Where can I actually check if the automatic GA job was successful or not?
A result of the GA would also be interesting.
In the system log I only see a note that the job has been executed.
Regards, Tom.
i solve the mail problem with a script.
Where can I actually check if the automatic GA job was successful or not?
A result of the GA would also be interesting.
In the system log I only see a note that the job has been executed.
Regards, Tom.
-----------------------
Debian
OTRS 6.0.38, ITSM 6
Debian
OTRS 6.0.38, ITSM 6
-
- 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: GenericAgent - send mail?
That's something the script has to do...
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