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='xxx@xxx.com')
it doesn't work:
all_inbox_messages = imbox.messages(sent_from=['xxx@xxx.com','yyy@yy.com'])
The text was updated successfully, but these errors were encountered:
This is not supported right now, giving a sequence to sent_from will produce a search for (FROM "['xxx@xxx.com', 'yyy@yy.com']") which means that it will search for emails sent by the address ['xxx@xxx.com', 'yyy@yy.com']. 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 "['xxx@xxx.com', 'yyy@yy.com']") which means that it will search for emails sent by the address ['xxx@xxx.com', 'yyy@yy.com']. 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='xxx@xxx.com')
it doesn't work:
all_inbox_messages = imbox.messages(sent_from=['xxx@xxx.com','yyy@yy.com'])
The text was updated successfully, but these errors were encountered: