Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string IMAP::Message::parseFrom(clist* from_lst){
- for (clistiter* it = clist_begin(from_lst); it != NULL; it = clist_next(it)){
- auto address = (mailimap_address*) clist_content(it);
- if (address->ad_mailbox_name && address->ad_host_name){
- from += address->ad_mailbox_name;
- from += '@';
- from += address->ad_host_name;
- } else
- from += "<UNKNOWN>";
- from += "; ";
- }
- }
Add Comment
Please, Sign In to add comment