"C:\MyPath\blat.exe" -body "Body text inline" -subject "This is Subject Line" -to user@abc.com
worked for me. The documentation appears to say that -body
should itself be preceded by -
and also appears to require the body-text to be the first parameter.
I found that the -
before -body
was not required, but did not test with the in-line body-text in any other position. YMMV.
I altered and quoted the executable-string. Doubling the \
does nothing, and it must be quoted if the string contains spaces. (actually, blat.exe
is located on my path
, so the absolute-filename for the executable is not required, only blat
)
The quoted-bodytext could be replaced by a variablename if desired, in the form "%mybodytext%"
My version : v3.2.16 (build : Aug 7 2016 22:51:52)