Shouldn't g_mime_header_list_set return error if it tries to set address or transparently fallback to g_mime_message_get_* internally?
On Mon, Aug 20, 2018 at 2:56 PM Kane Kim <[email protected]> wrote: > Thanks, will try that. > > On Mon, Aug 20, 2018 at 2:31 PM Jeffrey Stedfast <[email protected]> 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`. >> Calling it with header "To" and email "[email protected]" breaks >> resulting mime. >> >> Is it a bug or different function should be used to insert addresses? >> >> Thanks! >> >> >> >> _______________________________________________ >> gmime-devel-list mailing >> [email protected]https://mail.gnome.org/mailman/listinfo/gmime-devel-list >> >> >>
_______________________________________________ gmime-devel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gmime-devel-list
