message-narrow-to-head since there will be the message header separator.
+2008-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * message.el (message-idna-to-ascii-rhs): Use
+ message-narrow-to-headers-or-head rather than message-narrow-to-head
+ since there will be the message header separator.
+
2008-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
* nnimap.el (nnimap-retrieve-headers-progress): Don't use nnimap-demule
(when message-use-idna
(save-excursion
(save-restriction
- (message-narrow-to-head)
+ (message-narrow-to-headers-or-head)
(message-idna-to-ascii-rhs-1 "From")
(message-idna-to-ascii-rhs-1 "To")
(message-idna-to-ascii-rhs-1 "Reply-To")