Guest User

Untitled

a guest
Dec 10th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. string IMAP::Message::parseFrom(clist* from_lst){
  2. for (clistiter* it = clist_begin(from_lst); it != NULL; it = clist_next(it)){
  3. auto address = (mailimap_address*) clist_content(it);
  4. if (address->ad_mailbox_name && address->ad_host_name){
  5. from += address->ad_mailbox_name;
  6. from += '@';
  7. from += address->ad_host_name;
  8. } else
  9. from += "<UNKNOWN>";
  10. from += "; ";
  11. }
  12. }
Add Comment
Please, Sign In to add comment