Using variables with sendemail


Is it possible to use variables in the options portion of the sendemail command? It does not seem to work. In the example below

sendemail {
subject=“Email subject here”

the string “VariableHoldingUserEmailAddr” gets put in Apple Mail’s “To:” field.


You need to get the variable outside the quotes, so that the variable’s value will be used, and not its name.

sendemail {
subject=“Email subject here”


Thanks, works just as intended. I didn’t realize that the “{}” were functioning as quotes, but I haven’t viewed enough of the videos.
Thanks again.


Panorama has several characters that can serve as quotes. If some are in the text to be quoted, you can use one of the others to quote the text. There is an article in the Help file about them.