aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-hdrs.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 9e681d2f71..b7f92636ce 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-19 Not Zed <NotZed@Ximian.com>
+
+ * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message_internal):
+ This should use address_encode, since its an rfc822 address, not
+ address_format which is for display.
+
2002-07-17 Radek Doulik <rodo@ximian.com>
* e-msg-composer.c (save): use "saved" gtkhtml command
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index d98b452cff..f856e2995b 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -756,7 +756,7 @@ e_msg_composer_hdrs_to_message_internal (EMsgComposerHdrs *hdrs,
addr = e_msg_composer_hdrs_get_from (hdrs);
if (redirect) {
- header = camel_address_format (CAMEL_ADDRESS (addr));
+ header = camel_address_encode (CAMEL_ADDRESS (addr));
camel_medium_set_header (CAMEL_MEDIUM (msg), "Resent-From", header);
g_free (header);
} else {