Open gbp opened 5 years ago
Linking to original discussion https://groups.google.com/a/mysociety.org/forum/#!topic/alaveteli/xaO9dI51kuc
To fix the WDTK incoming messages above I have corrected the subject of the raw emails on disk then in the console ran:
m = IncomingMessage.find ID
m.parse_raw_email!(true)
m.clear_in_database_caches!
2 messages like this on request 708365 and the user has contacted us at WDTK support.
We have opened the email in a normal email application and it is still illegible.
We've suggested the user ask the Council to send the response again, although I am not sure if this will work.
Messages have been received where the subject UTF-8 encoding is incorrect and headers are being included in the middle of the subject.
A made up example of an unprocessable message received:
With should actually this should be:
or
We could detect and correct these messages but really the authority should be notified so valid responses can be sent.