aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c2
1 files changed, 1 insertions, 1 deletions
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 {