How to specify sendmail on command line?

Jean Louis <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <[email protected]>
Hello,

I wish to specify sendmail on command line, I tried this:

echo Text | mail -E'set sendmail="~/bin/sendmail"' -s "Something here" --content-filename=text/html -A html-file [email protected]
mail: Cannot create mailer: URL missing required parts
mail: cannot send message: URL missing required parts

What am I doing wrong?

-- 
Thanks,
Jean Louis
⎔ λ 🄯 𝍄 𝌡 𝌚
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.