# '[cc]="Some User <user@example.com>"'
# [reply-to]=some-address
# [in-reply-to]=<message-id>
+# [references]=<message-id>
# '[header]=full header line, including keyword'
#
# Additional values for email headers. If these are not provided
# then the relevant headers will simply not appear in the
# message.
#
-# '[id]=<message-id>'
+# '[id]=message-id'
#
# Controls the message-id of the created message.
gen_msg_cnt=0
${additional_headers}"
fi
+ if [ ! -z "${template[references]}" ]; then
+ additional_headers="References: ${template[references]}
+${additional_headers}"
+ fi
+
cat <<EOF >$gen_msg_filename
From: ${template[from]}