email scanning for X-Spam-Score

skip at skip at
Tue May 26 14:12:04 CEST 2009

    Helmut>    mailmsg = email.message_from_string(msg)
    Helmut>    SPAM_CORE = mailmsg['X-Spam-Score']

Maybe lower case?

    SPAM_CORE = mailmsg['x-spam-score']

Skip Montanaro - skip at -
    America's vaunted "free press" notwithstanding, story ideas that expose
    the unseemly side of actual or potential advertisers tend to fall by the
    wayside.  Not quite sure why.  -- Jim Thornton

More information about the Python-list mailing list