Sending mail bug fix
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Sending mail bug fix
- Date: Mon, 06 Nov 2006 12:01:24 +0100
Hi,
this patch adds the addresses of the cc and bcc fields to the list of
recipients when sending an email with camel.
Br.
Index: libtinymail-camel/tny-camel-transport-account.c
===================================================================
--- libtinymail-camel/tny-camel-transport-account.c (revision 1087)
+++ libtinymail-camel/tny-camel-transport-account.c (working copy)
@@ -105,6 +105,12 @@
str = tny_header_get_to (header);
_foreach_email_add_to_inet_addr (str, recipients);
+ str = tny_header_get_cc (header);
+ _foreach_email_add_to_inet_addr (str, recipients);
+
+ str = tny_header_get_bcc (header);
+ _foreach_email_add_to_inet_addr (str, recipients);
+
apriv->connected = TRUE;
camel_transport_send_to (transport, message, (CamelAddress*)from,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]