Hello,

Please see this, as to me it looks like it should work as mutt at
least works with this type of addressing:

mail -E"set sendmail=sendmail:/home/admin/bin/sendmail" -s "Subject here" -a 
"From: Jean <s...@example.com>"     "bugs@gnu.support <bugs@gnu.support>" 
--content-type=text/plain < /run/user/1001/text-file

mail: Cannot parse address `bugs@gnu.support <bugs@gnu.support>': Malformed 
email address

I think that first part of this below:

"bugs@gnu.support <bugs@gnu.support>"
 ^^^^^^^^^^^^^^^^

should be thought of as name for the email address if there is
<s...@example.com> as second part, isn't it?

I may see that if I put it in double quotes like

"\"bugs@gnu.support\" <bugs@gnu.support>"

that in that case it works.

What is correct here to do?

Should `mail' process it without double quotes?

Should I only use double quotes?


Reply via email to