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

Passing Variables to Mail Command

$
0
0

You don’t want to use mailcmd for this because it just replaces /usr/sbin/sendmail -t and Asterisk is going to pass the full formatted email with headers and all into the command. You would have to parse the email contents to do anything with it. Even then, all the variables in voicemail.conf wouldn’t be available. They only exist in voicemail.conf.

What are you actually trying to do with this bash script?


Viewing all articles
Browse latest Browse all 226583

Trending Articles



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