I'm trying to fetch all emails whose subject starts with "New Order" but I can't seem to figure it out. Currently I can search for an exact match with a setup like so...
result, data = M.uid('search', None, '(HEADER Subject "Subject Here")')
However this won't retrieve any messages that aren't an exact match. How would I go about doing a partial match?
If it matters I am talking to gmail's imap server(s).
Thanks
M
? – Atelier