Re: Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Python
Chris Green wrote: Subject: [SPAM] =?UTF-8?B?8J+TtyBKb2huIEJheHRlci1C?= =?UTF-8?B?cm93biByZWNlbnRseSBw?= =?UTF-8?B?b3N0ZWQgYSBuZXcgcGhv?= =?UTF-8?B?dG8=?= It looks like some sort of mis-encoding of UTF-8 strings, can anyone suggest what might be going on and/or a way to

Re: Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Chris Green
Python wrote: > Chris Green wrote: > >Subject: [SPAM] =?UTF-8?B?8J+TtyBKb2huIEJheHRlci1C?= > > =?UTF-8?B?cm93biByZWNlbnRseSBw?= > > =?UTF-8?B?b3N0ZWQgYSBuZXcgcGhv?= > > =?UTF-8?B?dG8=?= > > > > It looks like some sort of mis-encoding of UTF-8 strings, can anyone > >

Re: Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Dieter Maurer
Chris Green wrote at 2021-12-24 16:03 +: >I have a Python 3 script which processes E-Mail caught in my hosting >provider's 'catchall' mailbox. It looks for things that *might* be >useful E-Mails, forwards them, and throws the rest away. > ... >I have a function which, given a header name,

Re: Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Barry
> On 24 Dec 2021, at 16:40, Chris Green wrote: > > I have a Python 3 script which processes E-Mail caught in my hosting > provider's 'catchall' mailbox. It looks for things that *might* be > useful E-Mails, forwards them, and throws the rest away. > > I have a function which, given a header

Is there any way to make sense of these E-Mail subjects?

2021-12-24 Thread Chris Green
I have a Python 3 script which processes E-Mail caught in my hosting provider's 'catchall' mailbox. It looks for things that *might* be useful E-Mails, forwards them, and throws the rest away. I have a function which, given a header name, extracts the header and returns it as a string:- #