Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 226560

Passing Variables to Mail Command

$
0
0

Thank you for responding.

I’m trying to send the message to OpenAI through the API for transcription. The bash script works flawlessly if I run it from the command line, and even works if I manually input the data that’s supposed to be supplied by the variables on the Mail Command line. But whenever I try to include the ${} variables, the log output from the script shows that nothing was passed.

Years ago, I did something similar to this sending messages to Watson, but it’s been so long ago and I don’t recall why I stopped using that functionality.

Any suggestions for how to accomplish this would be appreciated. Once the message is transcribed, I intend to send it to my CRM as well as email. But one step at a time…


Viewing all articles
Browse latest Browse all 226560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>