aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 9e0fb7de11..4799627fd5 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -398,6 +398,13 @@ camel_mime_message_set_recipients(CamelMimeMessage *mime_message, const char *ty
g_free(text);
}
+void
+camel_mime_message_set_identity(CamelMimeMessage *mime_message, const char *identity)
+{
+ g_assert (mime_message);
+ camel_medium_add_header (CAMEL_MEDIUM (mime_message), "X-Evolution-Identity", identity);
+}
+
const CamelInternetAddress *
camel_mime_message_get_recipients(CamelMimeMessage *mime_message, const char *type)
{