Dear Teltonika Support,
dear Community,
for implementing two factor authentication we use a firewall that is able to send a one time code per EMail to the users. I tried to forward those emails using the EMail-to-SMS function of a TRB140 unit. That did not work, because the minimum poll-rate (POP3) is 60 seconds (the one-time-codes are valid for 60 seconds only).
Then i tried setting up EMail-Relay. The Docs tell me that i can trigger a script each time an EMail will be sent to the TRB140: TRB140 Email Relay - Teltonika Networks Wiki
But there is no description about the parameters passed to the script and how to use them.
Can anyone tell me how to find further information?
Also i would suggest to allow POP3 poll interval down to 1 second (or at least 3 seconds) to make “real time” forwarding possible (i understand that every minute the POP3 connection has to be closed in order to delete mails that have been delivered SMS from the mailserver).
Another suggestion: an option to delete mails that are older than a configurable number of seconds. This would prevent sending a huge number of SMS containing outdated information.
Thank you very much!
Best regards
Bernhard