* Sergey Poznyakoff <g...@gnu.org.ua> [2020-11-02 13:59]: > Jean Louis <bugs@gnu.support> ha escrit: > > > echo Text | mail -E'set sendmail="~/bin/sendmail"' -s "Something here" > > --content-filename=text/html -A html-file s...@example.com > > Use this instead: > > mail -E"set sendmail=\"sendmail:$HOME/bin/sendmail\"" ...
Oh, yes, as there could be different scheme like SMTP. > 2. The tilde character is not expanded within URLs (whether it should > or not is another matter), so you have to use the $HOME variable to > expand to the absolute pathname of your homedir. No need for me to use tilde. I can use full path. > 3. Single quotes would prevent expansion of $HOME. Double-quotes must > be used instead. Correspondinly, any occurrence on double-quote within > the string must be escaped. That is right, thank you. I am testing. Is it possible to specify CC, Bcc on command line? Or must be in header?