Parsing email with Python

后端 未结 3 2036
花落未央
花落未央 2020-12-03 11:25

I\'m writing a Python script to process emails returned from Procmail. As suggested in this question, I\'m using the following Procmail config:

:0:
|$HOME/pr         


        
3条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 12:08

    I answer to myself.

    I found a bug in the code that builds the messages. It's appending linebreaks between some lines, preventing the parser from working properly.

提交回复
热议问题