mcom: decode address for Reply-To: and To: header

mmime will recode again if required.
pull/158/head
Leah Neukirchen 5 years ago
parent 9d280aa8a3
commit 1aa4977f71

@ -327,8 +327,8 @@ fi
if [ "$ng" ]; then
printf 'Newsgroups: %s\n' "$ng"
else
to=$(mhdr -h reply-to "$1")
[ -z "$to" ] && to=$(mhdr -h from "$1")
to=$(mhdr -d -h reply-to "$1")
[ -z "$to" ] && to=$(mhdr -d -h from "$1")
printf 'To: %s\n' "$to"
printf 'Cc: %s\n' \
"$(mhdr -d -A -h to:cc: "$1" |

Loading…
Cancel
Save