diff options
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index ce79fe1fb5..72210b4c16 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -2710,6 +2710,9 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg) while (*account_name && isspace ((unsigned) *account_name)) account_name++; } + if (account_name == NULL) { + account_name = camel_medium_get_header (CAMEL_MEDIUM (msg), "From"); + } e_msg_composer_set_headers (new, account_name, Tov, Ccv, Bccv, subject); |