You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to filter multiple emails in the 'sent_from' parameter of messages, but it only works when the parameter is a single email address. I tried giving it a list or tuple, but it doesn't work.
for example:
it works:
all_inbox_messages = imbox.messages(sent_from='[email protected]')
This is not supported right now, giving a sequence to sent_from will produce a search for (FROM "['[email protected]', '[email protected]']") which means that it will search for emails sent by the address ['[email protected]', '[email protected]']. This is obviously not a valid address, and that's why no results are returned.
This is not supported right now, giving a sequence to sent_from will produce a search for (FROM "['[email protected]', '[email protected]']") which means that it will search for emails sent by the address ['[email protected]', '[email protected]']. This is obviously not a valid address, and that's why no results are returned.
I want to filter multiple emails in the 'sent_from' parameter of messages, but it only works when the parameter is a single email address. I tried giving it a list or tuple, but it doesn't work.
for example:
it works:
all_inbox_messages = imbox.messages(sent_from='[email protected]')
it doesn't work:
all_inbox_messages = imbox.messages(sent_from=['[email protected]','[email protected]'])
The text was updated successfully, but these errors were encountered: