Simple Mail Client in Python

  Рет қаралды 50,954

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 116
@BusyAnt1234
@BusyAnt1234 3 жыл бұрын
Amazingly, you could type any e-mail address as the "sender" and it would work... but most (if not all) modern e-mail clients will classify this as spam or right out delete it before you get to read it. I once got a fake ransom e-mail seemingly sent from my own e-mail account, which startled me at first. Good video!
@ChrisLuigiTails
@ChrisLuigiTails 3 жыл бұрын
9:40 - Just want to comment that octet means byte!
@meric7010
@meric7010 3 жыл бұрын
Important things to look out for: Make sure that less secure option is selected when you are trying to send your emails. you can do it by googling Google's security/lesssecureapps Another thing to look out for when setting up the server command line, you should write this for gmail, I had many problems otherwise. server = smtplib.SMTP_SSL('smtp.gmail.com')
@nafisalzahid2597
@nafisalzahid2597 4 жыл бұрын
More than amazing!
@NeuralNine
@NeuralNine 4 жыл бұрын
Thank you!
@sudheerjalli4707
@sudheerjalli4707 3 жыл бұрын
@@NeuralNine encocode_base64 it's showing not defined any help bro
@juliaadler4121
@juliaadler4121 3 жыл бұрын
Your videos are so underrated! this was so helpful
@learn_simple7834
@learn_simple7834 3 жыл бұрын
@NeuralNine I guess for this particular task we need start TLS mode before server.login for Gmail server at least before server.login() we should use server.starttls() I guess.
@maturamgoel5330
@maturamgoel5330 3 жыл бұрын
The amazing channel on youtube to listen to subscribers need
@subvisioncat6819
@subvisioncat6819 3 жыл бұрын
can you please do a video on how to get login info from a windows machine? much appreciated , keep up the great tutorials , very entertaining and "educational":))
@simonnguyen692
@simonnguyen692 3 жыл бұрын
very well planned out videos and i love it
@vweeks181
@vweeks181 11 ай бұрын
That was awesome. Thank you
@marcins5244
@marcins5244 3 жыл бұрын
Great content - you`ve got yourself a new subscriber! But i have a problem with the following: Everything worked fine up to the point when the script attached the attachment to the email - it included also the file`s pathname (which i had to include in the script itself, otherwise the file was not found by Python). Is there a way to prevent the file`s path from appearing as the filename attached to the email? Thanks in advance and keep up the good work!
@shivashiva8021
@shivashiva8021 3 жыл бұрын
Good job and thanks for helping us to learn this all things 😊
@boenglover2593
@boenglover2593 3 жыл бұрын
@NeuralNine On your Simple mail Client in Python video, once I finish typing all of the code I get an error that says, "TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time". Help?
@adhilnovandri
@adhilnovandri 3 жыл бұрын
add line server.starttls() before server.login
@quarantinecommunity384
@quarantinecommunity384 3 жыл бұрын
Maybe, because of firewall
@sudheerjalli4707
@sudheerjalli4707 3 жыл бұрын
@@adhilnovandri it says server not defined
@adityachoudhary4045
@adityachoudhary4045 3 жыл бұрын
Awesome tutorial 👍🏻👍🏻
@13shiift
@13shiift 3 жыл бұрын
It's so easy to automate email sending
@estebanjacome6663
@estebanjacome6663 3 жыл бұрын
what do you use for code completing? great videos btw
@thegoldentree6913
@thegoldentree6913 Жыл бұрын
If you mean what code editor he is using then its PyCharm.
@fentonmsu
@fentonmsu 3 жыл бұрын
du bist ja Wunderbar.
@raguln8093
@raguln8093 2 жыл бұрын
Hi! How to use SSO login password (usually office mails) in SMTPLIB instead of a direct password (usually personal mails)?
@augiblutz2852
@augiblutz2852 2 жыл бұрын
It might be a REAL GOOD IDEA to post the code
@technicallycorrect838
@technicallycorrect838 3 жыл бұрын
Shouldn’t we also use f.close() after we are done with reading a file? Or it doesn’t matter?
@NeuralNine
@NeuralNine 3 жыл бұрын
we have the with statement for this
@technicallycorrect838
@technicallycorrect838 3 жыл бұрын
@@NeuralNine wow , thank you! I did not know until today that the “with” statement automatically closes the file at the end. I need to clean up some of my scripts.
@invinciblenoman
@invinciblenoman 3 жыл бұрын
i tried a code with which I could send only 128 emails at a time. But then It stopped sending emails like I did send emails but could not get on the recipient side. But I did not get any error. I am sending via my own website which is hosted by godaddy. However, Godaddy says that they have no such policy to restrict email sending. Can anyone help me out what could be the reason since the python script shows no error, the program goes normal. if you need that code I can show with you.
@zachsbattlefield
@zachsbattlefield 3 жыл бұрын
Should become a udemy instructor, you are very good.
@louismastbooms5048
@louismastbooms5048 3 жыл бұрын
SMTP AUTH extension not supported by server. I am using gmail
@juanrosales7156
@juanrosales7156 3 жыл бұрын
add server.starttls() use port 587 and make sure you have less secure app access setting on in your gmail account
@everydaysprout
@everydaysprout 2 жыл бұрын
Sir, I have 2 email ids loaded in my outlook. One is shared mail box. Plz let me know how i can send email using shared mail box. It do not have any password. Plz help
@oussamabenrejeb2751
@oussamabenrejeb2751 4 жыл бұрын
Great Job Thanks. All support
@NeuralNine
@NeuralNine 4 жыл бұрын
Thank you! :)
@fentonmsu
@fentonmsu 3 жыл бұрын
endlich du zeigst etwas auf Deutsch!!
@marc_h_cl
@marc_h_cl 3 жыл бұрын
I read a lot of info - got my own error to deal with but where i can help is - is your using gmail no need the allow 3th party to send email via gmail goto your gmail account upper right click on manage your account (just below your email in the left menu select security on that page all the way down you wil see option Less secure app access turn this on also port to be use in script is 587 hope this helps people somewhat
@mohamedaminelahlal266
@mohamedaminelahlal266 4 жыл бұрын
i think gmail refuse connections from unknown devices, i did activate that thing that allow unknown connections but i still get rejected
@NeuralNine
@NeuralNine 4 жыл бұрын
I haven't tried this for GMAIL yet. But since other mail clients can also access GMAIL it should be possible I think.
@mohamedaminelahlal266
@mohamedaminelahlal266 4 жыл бұрын
@@NeuralNine Hope so, make a video of it if it works, thanks for the content great videos!
@NeuralNine
@NeuralNine 4 жыл бұрын
@@mohamedaminelahlal266 sure :)
@gggkkk9970
@gggkkk9970 4 жыл бұрын
@@mohamedaminelahlal266 @NeuralNine got any update on that? got the same problem and I do not know the solution.
@learn_simple7834
@learn_simple7834 3 жыл бұрын
Go to 'Gmail account manager' 1. Turn On less secure device access (Search for it) 2. Then it will allow
@graemewiebe2815
@graemewiebe2815 3 жыл бұрын
Am I just dumb, or do I have to re-write the code by hand? are there files to download? plz reply @NeuralNine
@sebcv8027
@sebcv8027 3 жыл бұрын
Write the code, it will help you learn it!
@graemewiebe2815
@graemewiebe2815 3 жыл бұрын
@@sebcv8027 Ok! Just wanted to check. that does make sense.
@LukieHZX
@LukieHZX 4 жыл бұрын
I am german 🇩🇪 too. Are you german? In Chrome stand "Nicht sicher" and not "not save" of anything else.
@kirammanenjoyer
@kirammanenjoyer 3 жыл бұрын
Ich denke er ist Österreicher
@LukieHZX
@LukieHZX 3 жыл бұрын
@@kirammanenjoyer Ja, ist ja fast das selbe...
@PasterLak
@PasterLak 3 жыл бұрын
Ich auch
@misterjasoom515
@misterjasoom515 Жыл бұрын
Can i use smtplib to download email attachment if yess can you provide me with the method thnx
@DigvijayGuptaofficialdk
@DigvijayGuptaofficialdk 4 жыл бұрын
Awesome 😇
@NeuralNine
@NeuralNine 4 жыл бұрын
Thank you!
@bulentturkay8346
@bulentturkay8346 2 жыл бұрын
thank you bro , how gmail inbox email read
@DigvijayGuptaofficialdk
@DigvijayGuptaofficialdk 4 жыл бұрын
We want Some realtime project Application with CNN. Like face mask detection Face detection and attendance system combined..
@NeuralNine
@NeuralNine 4 жыл бұрын
Who is we? :D And maybe I can do that in the future
@DigvijayGuptaofficialdk
@DigvijayGuptaofficialdk 4 жыл бұрын
@@NeuralNine my classmates are also watching this channel
@Kyro_LxG
@Kyro_LxG 4 жыл бұрын
Hey do we have to use the same port as you did in the video which is 25
@marcvana1241
@marcvana1241 3 жыл бұрын
i dont think so, yahoo and gmail use 465
@aadimittal9910
@aadimittal9910 3 жыл бұрын
you can use it
@aadimittal9910
@aadimittal9910 3 жыл бұрын
if you want or also other options are also available
@thealchemist2772
@thealchemist2772 4 жыл бұрын
File "C:\Python38\lib\smtplib.py", line 700, in login raise SMTPNotSupportedError( smtplib.SMTPNotSupportedError: SMTP AUTH extension not supported by server. Hi! I'm getting this error, can you help?
@al-taie
@al-taie 4 жыл бұрын
You can use (quick-mailer) module, to send email in two lines of code, with a lot of options. check out here: al-taie.github.io/quick-mailer
@NguyenQuangHuyBDCCN
@NguyenQuangHuyBDCCN 2 жыл бұрын
?
@daanielkh
@daanielkh 3 жыл бұрын
Why doesn't this work with gmail?
@philskz
@philskz 3 жыл бұрын
Amazing!
@Ayanami00
@Ayanami00 3 жыл бұрын
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
@tuckk.1201
@tuckk.1201 3 жыл бұрын
I am getting that same error message, let me know if you figure out the issue and how to fix it
@adriaanmouton2085
@adriaanmouton2085 2 жыл бұрын
It looks like Google took this access away in May 2022. I got the message "SMTP AUTH extension not supported by server". This video needs to be updated for this change in Google's policy.
@Newb1eProgrammer
@Newb1eProgrammer 5 ай бұрын
I got the same issue but using TLS fixes it, you wanna replace ehlo with starttls in the beginning and replace your account password with a app password you can generate at google settings
@cheaterxx
@cheaterxx 3 жыл бұрын
How do you receive e-mail ?
@geoalexander7796
@geoalexander7796 3 жыл бұрын
can this be integrated to django? or django have its own module for this?
@dreker337
@dreker337 3 жыл бұрын
It have its own module
@3rst549
@3rst549 3 жыл бұрын
Exception has occurred: gaierror [Errno 11001] getaddrinfo failed File "C:\Users\sucks\Desktop\MailClient\mail.py", line 7, in server = smtplib.SMTP('smpt.gmail.com', 25)
@vijayanand7270
@vijayanand7270 4 жыл бұрын
I am getting this error smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted Please help..
@DigvijayGuptaofficialdk
@DigvijayGuptaofficialdk 4 жыл бұрын
server.starttls() server.connect('smtp.example.com',465) Include these line the error will not occur at all
@NeuralNine
@NeuralNine 4 жыл бұрын
your login info is not correct as it says. Try putting it clear text into your script.
@al-taie
@al-taie 4 жыл бұрын
You can use (quick-mailer) module, to send email in two lines of code, with a lot of options. check out here: al-taie.github.io/quick-mailer
@islandpenguin5056
@islandpenguin5056 3 жыл бұрын
@@al-taie is that module safe tho?
@al-taie
@al-taie 3 жыл бұрын
@@islandpenguin5056 Sure, And open-source ✔️
@rangabharath4253
@rangabharath4253 4 жыл бұрын
awesome
@NeuralNine
@NeuralNine 4 жыл бұрын
Thank you! :)
@NBGTZ
@NBGTZ 3 жыл бұрын
I get error with your server what i need to do?
@sebinsaji9573
@sebinsaji9573 3 жыл бұрын
Why this script not asking password of email
@NBGTZ
@NBGTZ 3 жыл бұрын
i get an error its says No module named email.mine . what I need to do?
@marcvana1241
@marcvana1241 3 жыл бұрын
its email.mime not mine
@NBGTZ
@NBGTZ 3 жыл бұрын
@@marcvana1241 thank you so much
@ItzRaiyan
@ItzRaiyan 4 жыл бұрын
Is this in Python 3?
@NeuralNine
@NeuralNine 4 жыл бұрын
yes
@ItzRaiyan
@ItzRaiyan 4 жыл бұрын
@@NeuralNine Thanks!
@quickscope3643
@quickscope3643 3 жыл бұрын
amazing tks a lot
@ardalanfaraidun
@ardalanfaraidun 4 жыл бұрын
welcome back bro :}
@schwischwi8523
@schwischwi8523 3 жыл бұрын
When i tried to run i got ImportError does anyone knows how to solve this problem?
@BusyAnt1234
@BusyAnt1234 3 жыл бұрын
Probably means that the needed libraries are not installed on your system. Try to install them with "pip"! ;)
@b07x
@b07x 3 жыл бұрын
pip install emails #Try
@byrobuff8485
@byrobuff8485 3 жыл бұрын
desn't work
@gbagba81
@gbagba81 2 жыл бұрын
spricht du deutsch?
@Ayanami00
@Ayanami00 3 жыл бұрын
?
@Simsfly12
@Simsfly12 3 жыл бұрын
lol wait is he german? :D
@fentonmsu
@fentonmsu 3 жыл бұрын
du solltest ein bisschen Deutsch reden!
@johnm.4141
@johnm.4141 4 жыл бұрын
A suggestion for your intro. Lower you music volume. I have to lower my tv volume for your intro and then immediately increase the volume when you start talking. BTW I am one of those people that will leave a dislike because of that. The couple of videos I have watched from you do seem to have good content though.
@johnm.4141
@johnm.4141 3 жыл бұрын
@gabcode continue being a white knight
@Raoul28057
@Raoul28057 3 жыл бұрын
Why would you give a dislike just because the music is a little to hard for you, when you havent even watched the video thats some real KAREN behavior if you ask me
@johnm.4141
@johnm.4141 3 жыл бұрын
@@Raoul28057 so you "implied" I will be hacked. If it does happen I know who to point the finger at. Say what you want liberal.
@johnm.4141
@johnm.4141 3 жыл бұрын
@gabcode how old are you? 12? think about it. Don't be stupid.
@Raoul28057
@Raoul28057 3 жыл бұрын
@@johnm.4141 why are you so buthurt do you really hate your life that much?
Advanced TCP Chat Room in Python
37:23
NeuralNine
Рет қаралды 55 М.
Я сделала самое маленькое в мире мороженое!
00:43
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 2,9 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 64 МЛН
Mail Client with GUI in Python
37:21
NeuralNine
Рет қаралды 19 М.
Create email and text message SMS alerts with Python!
9:49
ClarityCoders
Рет қаралды 154 М.
FTP Client in Python
13:00
NeuralNine
Рет қаралды 41 М.
shutil: The Ultimate Python File Management Toolkit
14:32
NeuralNine
Рет қаралды 12 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 165 М.
Python Socket Programming Tutorial
49:43
Tech With Tim
Рет қаралды 1 МЛН
Automate Boring Office Tasks with ChatGPT and Python
10:06
Coding Is Fun
Рет қаралды 522 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 574 М.
Simple TCP Chat Room in Python
25:39
NeuralNine
Рет қаралды 223 М.
Я сделала самое маленькое в мире мороженое!
00:43