bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot parse address: when email address is used as name


From: Jean Louis
Subject: Cannot parse address: when email address is used as name
Date: Thu, 19 Nov 2020 15:22:13 +0300

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 <ss@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
<some@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

[Prev in Thread] Current Thread [Next in Thread]