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!
@ChrisLuigiTails3 жыл бұрын
9:40 - Just want to comment that octet means byte!
@meric70103 жыл бұрын
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')
@nafisalzahid25974 жыл бұрын
More than amazing!
@NeuralNine4 жыл бұрын
Thank you!
@sudheerjalli47073 жыл бұрын
@@NeuralNine encocode_base64 it's showing not defined any help bro
@juliaadler41213 жыл бұрын
Your videos are so underrated! this was so helpful
@learn_simple78343 жыл бұрын
@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.
@maturamgoel53303 жыл бұрын
The amazing channel on youtube to listen to subscribers need
@subvisioncat68193 жыл бұрын
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":))
@simonnguyen6923 жыл бұрын
very well planned out videos and i love it
@vweeks18111 ай бұрын
That was awesome. Thank you
@marcins52443 жыл бұрын
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!
@shivashiva80213 жыл бұрын
Good job and thanks for helping us to learn this all things 😊
@boenglover25933 жыл бұрын
@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?
@adhilnovandri3 жыл бұрын
add line server.starttls() before server.login
@quarantinecommunity3843 жыл бұрын
Maybe, because of firewall
@sudheerjalli47073 жыл бұрын
@@adhilnovandri it says server not defined
@adityachoudhary40453 жыл бұрын
Awesome tutorial 👍🏻👍🏻
@13shiift3 жыл бұрын
It's so easy to automate email sending
@estebanjacome66633 жыл бұрын
what do you use for code completing? great videos btw
@thegoldentree6913 Жыл бұрын
If you mean what code editor he is using then its PyCharm.
@fentonmsu3 жыл бұрын
du bist ja Wunderbar.
@raguln80932 жыл бұрын
Hi! How to use SSO login password (usually office mails) in SMTPLIB instead of a direct password (usually personal mails)?
@augiblutz28522 жыл бұрын
It might be a REAL GOOD IDEA to post the code
@technicallycorrect8383 жыл бұрын
Shouldn’t we also use f.close() after we are done with reading a file? Or it doesn’t matter?
@NeuralNine3 жыл бұрын
we have the with statement for this
@technicallycorrect8383 жыл бұрын
@@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.
@invinciblenoman3 жыл бұрын
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.
@zachsbattlefield3 жыл бұрын
Should become a udemy instructor, you are very good.
@louismastbooms50483 жыл бұрын
SMTP AUTH extension not supported by server. I am using gmail
@juanrosales71563 жыл бұрын
add server.starttls() use port 587 and make sure you have less secure app access setting on in your gmail account
@everydaysprout2 жыл бұрын
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
@oussamabenrejeb27514 жыл бұрын
Great Job Thanks. All support
@NeuralNine4 жыл бұрын
Thank you! :)
@fentonmsu3 жыл бұрын
endlich du zeigst etwas auf Deutsch!!
@marc_h_cl3 жыл бұрын
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
@mohamedaminelahlal2664 жыл бұрын
i think gmail refuse connections from unknown devices, i did activate that thing that allow unknown connections but i still get rejected
@NeuralNine4 жыл бұрын
I haven't tried this for GMAIL yet. But since other mail clients can also access GMAIL it should be possible I think.
@mohamedaminelahlal2664 жыл бұрын
@@NeuralNine Hope so, make a video of it if it works, thanks for the content great videos!
@NeuralNine4 жыл бұрын
@@mohamedaminelahlal266 sure :)
@gggkkk99704 жыл бұрын
@@mohamedaminelahlal266 @NeuralNine got any update on that? got the same problem and I do not know the solution.
@learn_simple78343 жыл бұрын
Go to 'Gmail account manager' 1. Turn On less secure device access (Search for it) 2. Then it will allow
@graemewiebe28153 жыл бұрын
Am I just dumb, or do I have to re-write the code by hand? are there files to download? plz reply @NeuralNine
@sebcv80273 жыл бұрын
Write the code, it will help you learn it!
@graemewiebe28153 жыл бұрын
@@sebcv8027 Ok! Just wanted to check. that does make sense.
@LukieHZX4 жыл бұрын
I am german 🇩🇪 too. Are you german? In Chrome stand "Nicht sicher" and not "not save" of anything else.
@kirammanenjoyer3 жыл бұрын
Ich denke er ist Österreicher
@LukieHZX3 жыл бұрын
@@kirammanenjoyer Ja, ist ja fast das selbe...
@PasterLak3 жыл бұрын
Ich auch
@misterjasoom515 Жыл бұрын
Can i use smtplib to download email attachment if yess can you provide me with the method thnx
@DigvijayGuptaofficialdk4 жыл бұрын
Awesome 😇
@NeuralNine4 жыл бұрын
Thank you!
@bulentturkay83462 жыл бұрын
thank you bro , how gmail inbox email read
@DigvijayGuptaofficialdk4 жыл бұрын
We want Some realtime project Application with CNN. Like face mask detection Face detection and attendance system combined..
@NeuralNine4 жыл бұрын
Who is we? :D And maybe I can do that in the future
@DigvijayGuptaofficialdk4 жыл бұрын
@@NeuralNine my classmates are also watching this channel
@Kyro_LxG4 жыл бұрын
Hey do we have to use the same port as you did in the video which is 25
@marcvana12413 жыл бұрын
i dont think so, yahoo and gmail use 465
@aadimittal99103 жыл бұрын
you can use it
@aadimittal99103 жыл бұрын
if you want or also other options are also available
@thealchemist27724 жыл бұрын
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-taie4 жыл бұрын
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
@NguyenQuangHuyBDCCN2 жыл бұрын
?
@daanielkh3 жыл бұрын
Why doesn't this work with gmail?
@philskz3 жыл бұрын
Amazing!
@Ayanami003 жыл бұрын
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.12013 жыл бұрын
I am getting that same error message, let me know if you figure out the issue and how to fix it
@adriaanmouton20852 жыл бұрын
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.
@Newb1eProgrammer5 ай бұрын
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
@cheaterxx3 жыл бұрын
How do you receive e-mail ?
@geoalexander77963 жыл бұрын
can this be integrated to django? or django have its own module for this?
@dreker3373 жыл бұрын
It have its own module
@3rst5493 жыл бұрын
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)
@vijayanand72704 жыл бұрын
I am getting this error smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted Please help..
@DigvijayGuptaofficialdk4 жыл бұрын
server.starttls() server.connect('smtp.example.com',465) Include these line the error will not occur at all
@NeuralNine4 жыл бұрын
your login info is not correct as it says. Try putting it clear text into your script.
@al-taie4 жыл бұрын
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
@islandpenguin50563 жыл бұрын
@@al-taie is that module safe tho?
@al-taie3 жыл бұрын
@@islandpenguin5056 Sure, And open-source ✔️
@rangabharath42534 жыл бұрын
awesome
@NeuralNine4 жыл бұрын
Thank you! :)
@NBGTZ3 жыл бұрын
I get error with your server what i need to do?
@sebinsaji95733 жыл бұрын
Why this script not asking password of email
@NBGTZ3 жыл бұрын
i get an error its says No module named email.mine . what I need to do?
@marcvana12413 жыл бұрын
its email.mime not mine
@NBGTZ3 жыл бұрын
@@marcvana1241 thank you so much
@ItzRaiyan4 жыл бұрын
Is this in Python 3?
@NeuralNine4 жыл бұрын
yes
@ItzRaiyan4 жыл бұрын
@@NeuralNine Thanks!
@quickscope36433 жыл бұрын
amazing tks a lot
@ardalanfaraidun4 жыл бұрын
welcome back bro :}
@schwischwi85233 жыл бұрын
When i tried to run i got ImportError does anyone knows how to solve this problem?
@BusyAnt12343 жыл бұрын
Probably means that the needed libraries are not installed on your system. Try to install them with "pip"! ;)
@b07x3 жыл бұрын
pip install emails #Try
@byrobuff84853 жыл бұрын
desn't work
@gbagba812 жыл бұрын
spricht du deutsch?
@Ayanami003 жыл бұрын
?
@Simsfly123 жыл бұрын
lol wait is he german? :D
@fentonmsu3 жыл бұрын
du solltest ein bisschen Deutsch reden!
@johnm.41414 жыл бұрын
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.41413 жыл бұрын
@gabcode continue being a white knight
@Raoul280573 жыл бұрын
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.41413 жыл бұрын
@@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.41413 жыл бұрын
@gabcode how old are you? 12? think about it. Don't be stupid.
@Raoul280573 жыл бұрын
@@johnm.4141 why are you so buthurt do you really hate your life that much?