Questions tagged [pyzmail]
8 questions
1
vote
2 answers
pip failed with error code 1 while installing pyzmail
I'm trying to send Gmail through python3. I can use the email and smptlib, but I wanted to try out pyzmail.
However, when I try to install pyzmail, I get this:
$ pip3 install pyzmail
Collecting pyzmail
Using cached…

unhappycat
- 406
- 1
- 4
- 16
0
votes
1 answer
Pip doesn't let me install pyzmail, I always get the same error no matter what I try
So I'm following along "Automate the boring stuff" by Al Sweigart. And he uses pyzmail in the book. Naturally I'm going to want to use it too in order to follow along with the book. I've tried every single thing on the internet - and it's just…

Phanatasmare
- 1
- 1
0
votes
0 answers
AttributeError: 'NoneType' object has no attribute 'get_payload'
I just woke up in the morning and suddenly get this error as above while it was working perfectly, simple code as below to print the email body contents.
imapObj = imapclient.IMAPClient('outlook.office365.com', ssl=True) # Access IMAP…

Alani
- 73
- 6
0
votes
0 answers
imaplib.IMAP4.error: FETCH command error: BAD [b'Command Error. 10']
I get an error when trying to fetch emails from sent items while it works perfectly when I fetch emails from INBOX.
Anyone has the same issue?
thank you all.
import imapclient, pprint , pyzmail ,re
import socket
out =…

Alani
- 73
- 6
0
votes
1 answer
Pyzmail successfully installed, but there is still an error message
I have Python 3.7 installed on my laptop and want to install the module called pyzmail. It does work, but I still get the error message ModuleNotFoundError: No module named 'pyzmail' in Spyder.
I know that there are at least two finished questions…
user11978420
0
votes
0 answers
Pyzmail/IMAPclient: Can't figure out what key to use
I'm following this guide: https://automatetheboringstuff.com/chapter16/#calibre_link-45
to scrape emails and I am having issues using pyzmail.PyzMessage.factory(). I keep getting a KeyError.
I took the advice from here: Python email bot…

Spiller101
- 31
- 4
0
votes
0 answers
What is 'application/octet-stream' and where is the .jpg?
I'm trying to get .jpg files from emails. I sent myself an email with a photo. I am using the Idle3 shell. After logging in, the following successfully saves the photo to my computer. So later on, I want to adapt to use a loop.
rawMessage =…

Pedroski
- 433
- 1
- 7
- 16
-3
votes
1 answer
How to send mail on different time using python?
Code I have
def callback(message):
if not message:
Mailer().send_feed_error_report('Empty Message')
if "message_type" not in message:
Mailer().send_feed_error_report('"message_type" not in message')
class Mailer():
def…

Dev_Shums
- 1
- 2