python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is msg.is_attachment() enough to get all the attachments from email in python, or should we check that msg.is_multipart() too?
I am searching for mails from a particular sender with a particular subject.
I take the first email, and then want to retrieve the attachments from it.
I'm using imaplib.
My code -
_, mails = imap_cli...
Sneha Tunga
Votes: 0
Answers: 1
Search mails with french accent in gmail with python imaplib
Imaplib search function throws an exception
"SEARCH command error: BAD [b'Could not parse command']"
as soon as I use a character with a french accent, like é, è or à.
Here is my code:
imp...
Nono
Votes: 0
Answers: 0
How to search for email where the subject contains numbers
I'm looking for emails where the title has information on how many Bitcoin I received, but as there's a number in the email title, I want a way to find emails where the number is equal to or greater t...
Dkns
Votes: 0
Answers: 1
Parse multipart/related emails
I'm trying to parse emails and convert tables within them into pandas dataframes.
Since some of the emails are multipart, I took some code from this answer.
The following code works fine but it breaks...
younggotti
Votes: 0
Answers: 1