I suspect this could be slightly off-topic

And I suspect there may be faulty reasoning in there somewhere. You fail to specify whether you are trying to extract the Bcc field from messages which have been sent or received. If the former (i.e. you're extracting the headers from mails in the clients "Sent" box), it should work exactly the same way you're already extracting the other headers. If the latter (i.e. the client has received the mail and you're trying to see who else the mail was sent to) I suggest you sit back and reflect on the purpose and implementation of the Bcc field (repeated blows to the head with a blunt object may aid in this reflection).


All dogma is stupid.

In reply to Re: How to extract mail_ids from bcc field by tirwhan
in thread How to extract mail_ids from bcc field by jesuashok

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.