miron9 / smtp2communicator

A simple tool to replace local SMTP server and forward received mail to selected communicator (like Telegram)
MIT License
1 stars 0 forks source link

Feature request: run shell commands #2

Open Null-Kelvin opened 11 months ago

Null-Kelvin commented 11 months ago

Just for following KISS principle - there is many small tools that can send messages wherever: curl can relay message to any messenger with HTTP API (and most of that messengers even have examples for doing it), go-sendxmpp can relay message to Jabber, etc. Can you add this feature? Something like

channels:
  shell:
    enabled: true
    commandPath: curl
    commandArguments: arguments here

Thanks for very useful project anyway

miron9 commented 11 months ago

Hi @Null-Kelvin ,

I think I see what you mean. I'll keep that note just in case but I can't promise if or when such feature becomes available.

Thanks for reaching out. Kind regards