Searching mails for keywords in select headers in Opera 10.63

  • In my Opera 10.63, I have to very frequently search for mails having my chosen keywords -, some time in the 'From' header, some other time in the 'Subject' header, and other times in some other headers.

    Some time I have to search for one keyword in the 'From' header, and/ or another keyword in another header.

    Can someone please guide me how to accomplish this?

    vgakkhar

  • Example 1:

    From header contains keyword1
    and
    Subject contains keyword2

    Example 2:

    From header contains keyword1
    and
    Any header matches regexp subject: .*keyword2

    Note that in those cases, the keyword could be in the middle of the word. If you want to match only words, you'd do something like:

    Example 3:
    Any header matches regexp subject: .*\bkeyword2\b

    Example 4:
    Subject matches regexp \bkeyword2\b

    Look up regexp cheat sheets on the net to help you with regexp.

    Note that with regexp for the any header rule, ^ and $ don't work. It's like they're implied at the beginning and end of the field.

    Also note that the any header rule is really an "any header line" rule. This mean that for headers that wrap to multiple lines, each line is considered a different header. This means that for regexp, if you want to search for a header that begins with subject:, you'll only be able to search for the first line of the header.

    Also note that the any header rule only searches the first set of headers in the source of the message. It won't skip passed content and search the headers for attachments.

  • Dear burnout426,

    Thanks for your guidance. I will try this and revert back soon.

    vgakkhar

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.