aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-19 15:05:44 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-19 15:05:44 +0800
commitd0b60c1e81bb88826826be800ab58f1961f3d2a9 (patch)
tree936c7b74d3c46d72fabde6839ab662c41a4aabd5
parent16750936d995827472ae4f9f67c43e33e6dc43e3 (diff)
downloadgsoc2013-evolution-d0b60c1e81bb88826826be800ab58f1961f3d2a9.tar.gz
gsoc2013-evolution-d0b60c1e81bb88826826be800ab58f1961f3d2a9.tar.zst
gsoc2013-evolution-d0b60c1e81bb88826826be800ab58f1961f3d2a9.zip
This should use address_encode, since its an rfc822 address, not
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. svn path=/trunk/; revision=17516
-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 {