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 <[email protected]>"     "[email protected] <[email protected]>" 
--content-type=text/plain < /run/user/1001/text-file

mail: Cannot parse address `[email protected] <[email protected]>': Malformed 
email address

I think that first part of this below:

"[email protected] <[email protected]>"
 ^^^^^^^^^^^^^^^^

should be thought of as name for the email address if there is
<[email protected]> as second part, isn't it?

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

"\"[email protected]\" <[email protected]>"

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