Re: [gmime-devel] recommended way to set addresses (To, BCC)
- From: Kane Kim <kane isturm gmail com>
- To: Jeffrey Stedfast <fejj gnome org>
- Cc: gmime-devel-list gnome org
- Subject: Re: [gmime-devel] recommended way to set addresses (To, BCC)
- Date: Mon, 20 Aug 2018 18:42:46 -0700
Shouldn't g_mime_header_list_set return error if it tries to set address or transparently fallback to g_mime_message_get_* internally?
Thanks, will try that.
On Mon, Aug 20, 2018 at 2:31 PM Jeffrey Stedfast <
fejj gnome org> wrote:
Hi Kane,
I just realized that it doesn't look like I responded to this (got
distracted when I saw your message a while back, I guess).
It is recommended that you use functions like
g_mime_message_get_to/cc/bcc() to get the InternetAddressList, and
then use internet_address_list_add/insert/remove() to manipulate
the list of addresses for those headers.
Hope that helps,
Jeff
On 8/8/2018 5:36 PM, Kane Kim via gmime-devel-list wrote:
Hello,
Currently I'm trying to set To/Bcc headers with
`g_mime_header_list_set`.
Is it a bug or different function should be used to insert
addresses?
Thanks!
_______________________________________________
gmime-devel-list mailing list
gmime-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gmime-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]