[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to specify sendmail on command line?
From: |
Jean Louis |
Subject: |
Re: How to specify sendmail on command line? |
Date: |
Mon, 2 Nov 2020 14:22:34 +0300 |
User-agent: |
Mutt/+ (1036f0e) (2020-10-18) |
* Sergey Poznyakoff <gray@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 ss@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?