[continued from previous message]
+ static int write_msgid P_((struct out_state *mailer,
+ struct header_rec *current_header,
+ enum encoding top_encoding));
+ static int write_msgid(mailer,current_header,top_encoding)
+ struct out_state *mailer;
+ struct header_rec *current_header;
+ enum encoding top_encoding;
+ {
+ if (!current_header->message_id)
+ return 0;
+ write_msgid_header(mailer,"Message-ID",
+ current_header->message_id,
+ top_encoding,1,
+ current_header->header_charset);
+
+ return 1;
+ }
+
+
static struct header_handler {
header_ptr hdr_name;
header_field_writer_f * func;
***************
*** 2246,2251 ****
--- 2267,2273 ----
add_handler("Reply-To", write_reply_to);
add_handler("In-Reply-To", write_in_reply_to);
add_handler("References", write_references);
+ add_handler("Message-ID", write_msgid);
add_handler("Subject", write_subject);
DPRINT(Debug,9,(&Debug,"remail_register_handlers: %d mail handlers\n", Index: elmME+.2.5.alpha52-cvs/src/screen/screen.c
*** elmME+.2.5.alpha51/src/screen/screen.c Sat Feb 8 14:34:18 2020
--- elmME+.2.5.alpha52-cvs/src/screen/screen.c Sat Mar 21 10:28:58 2020 ***************
*** 1,7 ****
! static char rcsid[] = "@(#)$Id: screen.c,v 2.9 2020/01/18 20:07:41 hurtta Exp $";
/******************************************************************************
! * The Elm (ME+) Mail System - $Revision: 2.9 $ $State: Exp $
*
* Author: Kari Hurtta <
hurtta+elm@siilo.FMI.FI>
* (was
hurtta+elm@posti.FMI.FI,
hurtta+elm@ozone.FMI.FI) --- 1,7 ----
! static char rcsid[] = "@(#)$Id: screen.c,v 2.10 202