E-mail PIPE
- silverhost
- KeyHelp Translator
- Posts: 5
- Joined: Sat 27. May 2023, 13:48
- Location: Hungary
- Contact:
E-mail PIPE
There is solution to set email PIPE to some email addresses? I use WISECP and the support system use PIPE system, so some email adresses have redirect to specific php file.
Thanks for help
https://silverhost.hu
KeyHelp official translator into Hungarian
If you find any errors or typos in the translation, please report them privately!
Re: E-mail PIPE
Code: Select all
echo "mymail" | mail -s "Subject" user@domain.tld
--
95% aller Programmier halten sich für genial.
Der Rest immer noch für überdurchschnittlich.
Re: E-mail PIPE
He wants an incoming email to be passed directly to a PHP script and trigger any actions.
Unfortunately, KeyHelp cannot natively process incoming emails at this time. Currently you still have to deal with the API and your own scripts.
Maybe in the future such addons will be integrated into KeyHelp. We will see.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: E-mail PIPE
Ah that way.
Never needed it before, but is it not what fetchmail is made for?
--
95% aller Programmier halten sich für genial.
Der Rest immer noch für überdurchschnittlich.
Re: E-mail PIPE
https://www.berlios.de/software/fetchmail/
Fetchmail ruft E-Mails von entfernten Mail-Servern ab und leitet sie über SMTP weiter, so dass sie dann von normalen Mail-Benutzeragenten wie mutt, elm oder BSD Mail gelesen werden können. Es ermöglicht es allen Filter-, Weiterleitungs- und Aliasing-Funktionen Ihres System-MTAs, genauso zu arbeiten wie auf normalen E-Mails.
This has nothing to deal with „trigger PHP actions“.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- silverhost
- KeyHelp Translator
- Posts: 5
- Joined: Sat 27. May 2023, 13:48
- Location: Hungary
- Contact:
Re: E-mail PIPE
I strongly hope this, because I choose the KeyHelp and became contracted translator for KeyHelp system, because it has a good api wich is built in WISECP. But WISECP for it's support system use the PIPE system for different support deparments and different e-mail adresses for support departments. So if the KeyHelp developped a very usefull API and built in into WISECP would be very good if KeyHelp also support the PIPE system wich is need for WISECP system.Tobi wrote: ↑Fri 23. Jun 2023, 20:13 No.
He wants an incoming email to be passed directly to a PHP script and trigger any actions.
Unfortunately, KeyHelp cannot natively process incoming emails at this time. Currently you still have to deal with the API and your own scripts.
Maybe in the future such addons will be integrated into KeyHelp. We will see.
https://silverhost.hu
KeyHelp official translator into Hungarian
If you find any errors or typos in the translation, please report them privately!
- silverhost
- KeyHelp Translator
- Posts: 5
- Joined: Sat 27. May 2023, 13:48
- Location: Hungary
- Contact:
Re: E-mail PIPE
Several updates have come out since I asked my question/request.
My question: any updates? Several of my customers are already missing this feature, and I would be reluctant to tamper with the system as originally installed. Under Forwarding, it would be nice to have such a setting per email account, and it would be much needed.
https://silverhost.hu
KeyHelp official translator into Hungarian
If you find any errors or typos in the translation, please report them privately!
Re: E-mail PIPE
no updates on this topic. Piping still has to be configured manually.
Alternatively, WISECP may support other methods?! I never used WISECP, but there was a thread about piping in OSTicket where the community mentioned alternative solutions to piping: https://community-keyhelp-de.translate. ... r_pto=wapp
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: E-mail PIPE
Are there at the moment any news about that or are there already plans to implement this feature?
I also took the decision to use WISECP because of the advanced Keyhelp integration.
Sadly it seems impossible to use the Mail to Ticket function from WISECP.
I also checked the mentioned topic from you Alexander, but sadly WISECP has no function to fetch mails from a mailbox as far as i know.
Also i tried to write my own mailfetcher php script which sends unreaded mails from a mailbox to the system, but sadly that is not working.
Greetings,
Luuk
Re: E-mail PIPE
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: E-mail PIPE
For the moment i still try to figure out why it is not working if manually configured.
I did this already some times in smaller ticketing systems, but sadly here it is not working.
I sent a support message to WISECP because it seems the problem is on their side.
From the pipe.php, wisecp uses to process the emails into tickets, i get an error: stdin content not found.
Have a great Weekend,
Luuk
Re: E-mail PIPE
This most likely means, the input file aka e-mail is not located where it was expected to be.
It is best practise to double-check all paths and permissions.
And have a look in the PHP error log or activate error_reporting(E_ALL);
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: E-mail PIPE
I was talking with the WISECP support today and they checked my scripts.
It is simply not possible doing it this way as their piping scripts handle emails totally different.
BUT: To all people who might have the same problem.
They are working at the moment on the WISECP V3.2 which will come in 2 - 3 months estimated in their road map.
In this release direct email and imap piping will be implemented and they make it possible to setup email to ticket mailboxes.
Original message:
So no worries, they will make it happen.Importing Received Emails Into The Ticket System
Transferring data to the ticket system from e-mails sent to the relevant e-mail address using PHP and converting them into support tickets. More advanced version of Email Piping.
Type: New Feature
For me, i will wait. There is not that much traffic in the support box, that i would tryhard to find a solution now for this small amount of time.
Greetings,
Luuk
- silverhost
- KeyHelp Translator
- Posts: 5
- Joined: Sat 27. May 2023, 13:48
- Location: Hungary
- Contact:
Re: E-mail PIPE
I looked after the WISECP roadmap, and I did not see anything wich one connected to PIPE e-mail development or any kind of e-mail imap or pop3 development.
I've waited long enough for this.
So I wrote a PHP script for WISECP that uses POP3 to pull the mail with attachments and passes it to the WISECP PIPE script in the same format as if it had been received on PIPE. Tested with 7 email accounts. It is working.
I also set a timer to run every 5 minutes. From an account it will download mail every 1 second because that is the rate at which PIPE scritp can process it.
I don't understand the WISECP people, it's a very simple solution, I had it done in half a day.
https://silverhost.hu
KeyHelp official translator into Hungarian
If you find any errors or typos in the translation, please report them privately!