comparison src/readpst.c @ 313:0f19cd173eab

fix to/cc/bcc recipients in .msg file output format
author Carl Byington <carl@five-ten-sg.com>
date Mon, 24 May 2010 21:50:19 -0700
parents a6df6ffc3ff5
children c4537664ff50
comparison
equal deleted inserted replaced
312:b7f79da5fd55 313:0f19cd173eab
1508 fprintf(f_output, "X-libpst-forensic-sender: %s\n", item->email->sender_address.str); 1508 fprintf(f_output, "X-libpst-forensic-sender: %s\n", item->email->sender_address.str);
1509 } 1509 }
1510 1510
1511 if (item->email->bcc_address.str) { 1511 if (item->email->bcc_address.str) {
1512 pst_convert_utf8(item, &item->email->bcc_address); 1512 pst_convert_utf8(item, &item->email->bcc_address);
1513 fprintf(f_output, "X-libpst-forensic-bcc: %s\n", item->email->bcc_address.str); 1513 fprintf(f_output, "Bcc: %s\n", item->email->bcc_address.str);
1514 } 1514 }
1515 1515
1516 // add our own mime headers 1516 // add our own mime headers
1517 fprintf(f_output, "MIME-Version: 1.0\n"); 1517 fprintf(f_output, "MIME-Version: 1.0\n");
1518 if (item->type == PST_TYPE_REPORT) { 1518 if (item->type == PST_TYPE_REPORT) {