I'm loving these videos. For reference, I've been coding for 20+ years in the angle brackety languages (C, C++, Java, Javascript and C#), but I'm really interested in Python (although I have no idea where I'm supposed to put the semi-colons! 😁). What I really like about your videos is that you use a large enough font where I don't have to strain my eyes to see what you're doing. I also like the green-screened/cropped head in the lower corner so it doesn't obscure anything. I think these videos of you showing how to "do something practical" are really helpful, even for beginning programmers. Just learning the syntax and keywords can become really boring, really quick.
The fact that Python doesn't use brackets makes it seem childish for other programmers, but if you look at what you can code with Python, it really isn't!
Can't thank you enough for such good quality tutorials, however this one is not possible to do now since google permanently disabled less secure app access option...
Thank you, thank you, thank you! for being on point and not wasting my time with frivolous information as some other channels do! Your my hero! Great on point video.
Oh I used to not explain the details and that ended up being MORE work for me because I spent all day trying to answer questions. hahah. Thanks for the comment.
By the end of this video, the printed out message no longer has the body in an easily read format. Why is this? I fixed it by putting the print statement back in, but why did you take them out and do the append? It didn't seem to do anything (I"m assuming a line of code to use the appended data is what is missing) Great video by the way! This was very easy to follow and SIMPLE compared to a lot of tutorials on doing this. For anyone who is complaining about the speed at which he did these two things, trust me, this was much more simple and well thought out than other tutorials I've seen.
Thanks! print will take string formatting into account; return statements don’t by default. It’s been a while since I did this one but that’s likely the reason
This is briliant. Thank you for showing and explaining. I am thinking about controlling a raspberry pi in my home network by sending it previously defined commands by e-mail. This seems to be an easy way to do it. Not sure if it would be perfectly safe though... Anyway a great tutorial video! Best regards from Germany
Great content Justin. I am really enjoying learning Python through your video tutorials. I do have one suggestion though. I would be nice if you can also mention concepts as you are demonstrating. For example use of with statement ... is referred to as context manager.
Hi, so apparently Google discontinued the Less Secure App Access as of May 2022, so I wasn't able to do that part, and therefore am getting some error in my code right away. Do you have instructions for how to do this program with the current Gmail features? Thx
so what should i learn from this section? memorizing all the syntax? i know you said in 24:00 that we don't have to. but then i just don't know what information should i take. if it's for some 'reference' , then maybe emphasize more about that reference, or else the 45min long video is just filled with syntax and that's just confusing. still, it's a good tutorial , thx for that, all i'm saying is that i can't catch the message it sent
nice videos thank you for your time..., if you are having problems because of the less secure apps that google change you can you app passwords it worked for me
Man if i ever get a job i goin to donate lot of money this is some good ** even if i dont fully understand but i now how to read the language so i believe that's good even when i went to give up i keep staying force
yeah amazing but i can't type my code yet I get a note all the time from Visual Basic that not all the functions will work how do I bypass this or fixe and it is a new Visual Basic that is really difficult it a complete other view please reply me fast
Hello, wondering if you could help me out on below issue: Somehow google blocked it when did send_mail Sign-in attempt was blocked for your linked Google Account
Hello I am getting IMAP error "user is authenticated but not connected" at line imap_server.select('inbox') after login statement. So what can we do in this case ? Can u plz help me ?
Great tutorial, unfortunately I cannot get the code to read the 'body' of the email. It reads the subject, date, etc., just not the body. I am not sure what has changed since 2020 when this tutorial was made. Anyone else experience this?
Shows error... I ran the code on vscode, but it gives for res in _socket.getaddrinfo(host, port, family, type, proto, flags socket.gaierror: [Errno 11004] getaddrinfo failed error...any solutions?
Dude the line: _, data= mail.fetch(num, '(FRC822)') gives an error: imaplib.error: FETCH command error: BAD [b'Could not parse command'] how can I solve this, please?
20:51 "....assert to_email != None..." produces the following error....exception: no description. I downloaded the original send.py from github => same result. Second, the line "response = send(name, to_email=email, verbose=True)" produces another exception error.....any idea? besides these little errors, your videos are awesome!
I"m no where near a master in Python, and you may have already figured out your problem, but are you running the same version of python as the video? This type of error (where it's throwing an exception when it doesn't receive something it thinks it should) are often caused by that. This is especially true since you said it even happened with the downloaded code.
Yes, extract the link and either: - use selenium with python to automate a browser to go to the link - use Python requests to request a link (thus “clicking” it in a way)
I tried inbox.py on one of my useless gmail account and it was showing mails from the creation of that account i.e. 2013. How can I fetch the latest one....?
amazing! Can't wait to see more complicated subjects here :) and I thing Multipurpose Internet Mail Extensions (MIME) is pronounced like "mime" not "mim" or am I wrong?
I keep getting an Assertion error with the send.py file: ['c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py'] Traceback (most recent call last): File "c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py", line 32, in response = send(name, to_email=email, verbose=True) File "c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py", line 9, in send assert to_email != None AssertionError
I had to dislike this video. You clearly put a lot of effort in it however for a Python beginner playlist you went too far too soon. A lot of the areas you cover in the video are not well explained, some are not explained at all. You have to understand that beginners struggle with the concepts of programming and language syntax a lot. The things that you can type at the top of your head take us long time to wrap our minds around. I will still probably watch the other videos but this left me disappointed and feeling way out of my scope. If you read this, please keep my comment in mind for your future videos that target beginners in any area of learning. We are here to learn something new, not to watch a guy brag at his great programming skills. Take it slower.
Thanks for the feedback. It’s impossible to teach all people at all ends of the comprehension spectrum. I recommend writing all the questions you have when you have them, do a quick search for them, and resume the video. That’s what I do and how I learn from others. Cheers!
There is a way to get body of an email msg = email.message_from_bytes(data[0][1], policy=email.policy.default) body = msg.get_body(('plain','html')) body.get_content()
I'm loving these videos. For reference, I've been coding for 20+ years in the angle brackety languages (C, C++, Java, Javascript and C#), but I'm really interested in Python (although I have no idea where I'm supposed to put the semi-colons! 😁). What I really like about your videos is that you use a large enough font where I don't have to strain my eyes to see what you're doing. I also like the green-screened/cropped head in the lower corner so it doesn't obscure anything. I think these videos of you showing how to "do something practical" are really helpful, even for beginning programmers. Just learning the syntax and keywords can become really boring, really quick.
The fact that Python doesn't use brackets makes it seem childish for other programmers, but if you look at what you can code with Python, it really isn't!
Can't thank you enough for such good quality tutorials, however this one is not possible to do now since google permanently disabled less secure app access option...
Hey, did you find any work around? I used send grid but the MFA was not getting set, I used rediff as well but it did not work.
Thank you, thank you, thank you! for being on point and not wasting my time with frivolous information as some other channels do! Your my hero! Great on point video.
Damn, this is some next-level stuff. I love it, keep it up.
Thank you very much. You are truly a great Teacher
Thank you, greetings from Argentina
Very helpful stuff, thank you for explaining the little details! So far the only youtuber that I saw do this
Oh I used to not explain the details and that ended up being MORE work for me because I spent all day trying to answer questions. hahah.
Thanks for the comment.
I learned a lot from you. there are no words to say thanks to you. but I love you for what you are doing for us.
Thank you!
Same to you!
By the end of this video, the printed out message no longer has the body in an easily read format. Why is this? I fixed it by putting the print statement back in, but why did you take them out and do the append? It didn't seem to do anything (I"m assuming a line of code to use the appended data is what is missing)
Great video by the way! This was very easy to follow and SIMPLE compared to a lot of tutorials on doing this. For anyone who is complaining about the speed at which he did these two things, trust me, this was much more simple and well thought out than other tutorials I've seen.
Thanks!
print will take string formatting into account; return statements don’t by default.
It’s been a while since I did this one but that’s likely the reason
@@CodingEntrepreneurs This is what I figured as well. Thank you!
Can't thank enough although Thank you sir,
My level of understanding in python is increasing day by day [All credit goes to you sir]
Brilliant and easy to follow. I went ahead and put the passwords into a .env file. Loving following this tutorial.
Loving the series... Can't wait to watch this episode
Thank you!
just awesome
i am taking this course now, and the enable less secure apps feature is disabled in google mail. Can someone help me with that, please.
Awesome! thanks for the few extra tips I picked up :D
Hey Sir, tried this but it is failing with error: b'LOGIN failed.', any idea how can we fix this. My username and password was correct .
This is briliant. Thank you for showing and explaining. I am thinking about controlling a raspberry pi in my home network by sending it previously defined commands by e-mail. This seems to be an easy way to do it. Not sure if it would be perfectly safe though... Anyway a great tutorial video! Best regards from Germany
thanks for sharing your knowledge, I love your tutorials, I've learned a lot from them. Greetings from Chile :)
Thank you!
Great content Justin. I am really enjoying learning Python through your video tutorials. I do have one suggestion though. I would be nice if you can also mention concepts as you are demonstrating. For example use of with statement ... is referred to as context manager.
Hi, so apparently Google discontinued the Less Secure App Access as of May 2022, so I wasn't able to do that part, and therefore am getting some error in my code right away. Do you have instructions for how to do this program with the current Gmail features? Thx
ruclips.net/video/g_j6ILT-X0k/видео.html here is the solution :)
Question: How to paste code into the terminal running as you do? Mine will end up a trunk of code which is not runnable. I have to paste line by line.
You are the bestt❤️❤️
so what should i learn from this section? memorizing all the syntax? i know you said in 24:00 that we don't have to. but then i just don't know what information should i take.
if it's for some 'reference' , then maybe emphasize more about that reference, or else the 45min long video is just filled with syntax and that's just confusing.
still, it's a good tutorial , thx for that, all i'm saying is that i can't catch the message it sent
nice videos thank you for your time..., if you are having problems because of the less secure apps that google change you can you app passwords it worked for me
Thank you so much for this video .
Worked on the first try, love your videos!!
Man if i ever get a job i goin to donate lot of money this is some good ** even if i dont fully understand but i now how to read the language so i believe that's good even when i went to give up i keep staying force
Helpful video , in the next video can you explain reading inbox using perl
Man, this is great stuff!!! Thanks man!
Thank you mate! Top content!
Just ran into your channel and I have to say it's a great tutorial, going step by step and explaining everything, subscribed
This is great information. Is there a way to parse through a Microsoft account to read emails and automate stuff.
Can we use python to reply email on a specific an email? I am using Outlook.
yeah amazing but i can't type my code yet I get a note all the time from Visual Basic that not all the functions will work how do I bypass this or fixe and it is a new Visual Basic that is really difficult it a complete other view please reply me fast
this went from zero to sixty pretty fast lol
Hello, wondering if you could help me out on below issue:
Somehow google blocked it when did send_mail
Sign-in attempt was blocked for your linked Google Account
Please can you show, how to automate outlook mail sending with attachments in macbook using python
great!! so helpful, thanks a ton!
aur bhai kaisa hai
Can you pls help me , how do I scrap products prices on the first page of a specific category
Perfect ❤️❤️❤️❤️
fantastic videos!!
Hi man..if you still read comments, how do i select the primary option in gmail and not the social and promotions?
Hello
I am getting IMAP error "user is authenticated but not connected" at line imap_server.select('inbox') after login statement. So what can we do in this case ? Can u plz help me ?
hi Justin, I have a question, if I have the second factor security, how can I login???
You can disable it or start a second account for this
Does it let you scrape the old emails that has been sent or received? Or just those that is done after using the script?
Great! tuto but i would like to know how i can use this exemple with reading inbox in outlook not in gmail
Thank you for your help. with this code i created a programm with wich i can remote my pc sending emails with my smartphone.
sorry for my bad englisch
Great tutorial, unfortunately I cannot get the code to read the 'body' of the email. It reads the subject, date, etc., just not the body. I am not sure what has changed since 2020 when this tutorial was made. Anyone else experience this?
Great Video! Just one question, I have a html table that I already parse. But I need to save this table as a file. Could you help me?
how can we do the same from outlook ?
Shows error...
I ran the code on vscode, but it gives
for res in _socket.getaddrinfo(host, port, family, type, proto, flags
socket.gaierror: [Errno 11004] getaddrinfo failed
error...any solutions?
Dude the line:
_, data= mail.fetch(num, '(FRC822)')
gives an error:
imaplib.error: FETCH command error: BAD [b'Could not parse command']
how can I solve this, please?
It is '(RFC822)', you switched the R and the F. This was 2 moths ago so I hope you were able to figure it out lol
Bro can do a series on making Rest API using Django.
I’ve got one
@@CodingEntrepreneurs oh sorry maybe I missed that
ruclips.net/video/tG6O8YF91HE/видео.html
@@CodingEntrepreneurs thanks bro
Hi Sir,
in my project i want to reply an email, in gmail how we are using sequence of mails .
Can you help me on this Sir.
20:51 "....assert to_email != None..." produces the following error....exception: no description. I downloaded the original send.py from github => same result. Second, the line "response = send(name, to_email=email, verbose=True)" produces another exception error.....any idea? besides these little errors, your videos are awesome!
I"m no where near a master in Python, and you may have already figured out your problem, but are you running the same version of python as the video? This type of error (where it's throwing an exception when it doesn't receive something it thinks it should) are often caused by that. This is especially true since you said it even happened with the downloaded code.
Not all heroes wear capes.
How can get a particular label? like I have two label study and work and read only study mail then how can do this ?
damn..getting only those messages from all that HTML code which was not making sense at all.Awesome...
"html_part" underlined said unused variable.
how do I solve it?
can i use the same thing with any websites ?
If you mean to read/send email from other services, then yes, as long as they have the protocol (smtp for sending, for example) then you can.
How to send an email from outlook using smtp Python , If you have any example share with us.
cool, keep it up , make it till day 365 ;)
hahaha
Sir, what about the other encodings in MIME text part?
Is there any way we can click on the link in the email body using python
Yes, extract the link and either:
- use selenium with python to automate a browser to go to the link
- use Python requests to request a link (thus “clicking” it in a way)
I tried inbox.py on one of my useless gmail account and it was showing mails from the creation of that account i.e. 2013.
How can I fetch the latest one....?
amazing! Can't wait to see more complicated subjects here :)
and I thing Multipurpose Internet Mail Extensions (MIME) is pronounced like "mime" not "mim" or am I wrong?
Oh yeah I think it’s an old habit of mine calling it “meme” instead of “mime” (ˈmīm)
my error
"SMTP AUTH extension not supported by server.")
smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server.
Help me ;(
How to reply to a thread or send a follow up email on the same previous thread instead of sending a totally new email??
did you get any solution to this, I am desperately looking for the code to reply to the same thread
Great tutorial. I still didn't get how the send.py file came from suddenly!
I could not find the cade at that link
I am getting this error . Can someone let me know why am I getting this error "socket.gaierror: [Errno 11001] getaddrinfo failed" ?
Hi there, can anyone help me, how to encode mails with cyrillic body?
I've tried this...but the email is not sent..what could be thre reason for that..
I keep getting an Assertion error with the send.py file:
['c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py']
Traceback (most recent call last):
File "c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py", line 32, in
response = send(name, to_email=email, verbose=True)
File "c:/Users/jborq/Python Venv/Dev/30Days/Day9Email/send.py", line 9, in send
assert to_email != None
AssertionError
got the same issue. i just deleted "assert to_email != None" in send.py and it worked
Does someone know how to read attachments in python?
31:22 What is '(RFC822)'?
getting indentation error on VS code even with whole code copied , help !
File ".\send_email.py", line 22, in send_email
msg_str = msg.as_string()
AttributeError: 'tuple' object has no attribute 'encode'
Help please Thanks
same error
I fixed it because I was doing b = data[0] rather than _, b = data[0]
If anyone is having a problem regarding not connecting to Gmail just go to Google and search less secure apps then turn on
The code at 15:00 does not work 2021 at all. Several errors even when copy pasting his own code and running it.
Are you using the same version of Python as him? Sounds like you're probably using a newer version and that's why it's not working.
read mails: 29:28
Bro nice content by ur r not explaining thinks
I had to dislike this video. You clearly put a lot of effort in it however for a Python beginner playlist you went too far too soon. A lot of the areas you cover in the video are not well explained, some are not explained at all. You have to understand that beginners struggle with the concepts of programming and language syntax a lot. The things that you can type at the top of your head take us long time to wrap our minds around. I will still probably watch the other videos but this left me disappointed and feeling way out of my scope. If you read this, please keep my comment in mind for your future videos that target beginners in any area of learning. We are here to learn something new, not to watch a guy brag at his great programming skills. Take it slower.
Thanks for the feedback. It’s impossible to teach all people at all ends of the comprehension spectrum.
I recommend writing all the questions you have when you have them, do a quick search for them, and resume the video. That’s what I do and how I learn from others.
Cheers!
i agree with the comment here. a
There is a way to get body of an email
msg = email.message_from_bytes(data[0][1],
policy=email.policy.default)
body = msg.get_body(('plain','html'))
body.get_content()