Комментарии:
Can you show how to reply to a mail
ОтветитьAwesome
ОтветитьThis was such an amazing video, it took me a lot of time to pause and then understand and then apply it to the code, but it just made me learn so much , you are such an amazing teacher sir, thanks for sharing your knowledge with us.🙏🙏🙏
ОтветитьIf at your work, you've developed a python web scrapping, and you want to setup an email alert/notification if the web scrapping program fails. How you develop an email alert/notification?
Ответитьhi corey, please is this method still working, i tried with python 2.7 the method did not work any update please, thanks
ОтветитьThank Youuu
Ответитьdoes it work for anyone else?
Ответитьi sent a pdf through the method in the video but i am unable to open that pdf, its says failed to load pdf. Does anyone have a solution for it?
Ответитьi tried this with outlook but it just sent a blank mail. Any reasons?
ОтветитьIs there a way to hide the recipients form other recipients when sending?
Ответитьsir i need to send an external html attachment
ОтветитьEmail py has get_email_address_list which accepts both str and list. If the string has list of e-mails separated by , or ; it splits it to list.
Ответить2023
ОтветитьHello Corey, Thank you very much for this video. It's extremely clear, fast pace, super useful. BR, Anil
ОтветитьBeside the gmail thing,
do all the scripts still work nowadays -if we use an Smtp server?
Using Windows 10, and the HTML color didn't pass through to the recipient. Otherwise fine. I suspect it's a Windows issue.
Ответитьthis doesn't work anymore; google removed the settings.
ОтветитьThis tutorial was so simple and straightforward. Super helpful. AND it worked!! Thanks, will be sure to check out your other videos.
ОтветитьCorey, i have some problems running the code if I write it as shown, but when copied to my VS it does ran great. Thank you for this great tutorial.
ОтветитьThank you, this clarified some questions.
ОтветитьI have just found this video but it looks like lesssecureapps is no longer available from Google. Can I still use Python to send Gmail emails?
ОтветитьThanks a lot, It is just splendid explanation.
ОтветитьHi! How can I call the last excel file of a folder? the most recent that i already generated by python? ---> attach_file_name = '/i-want-only-the-last-excel-from-the-folder.xlsx'
attach_file = open(attach_file_name, 'rb')? any clue?
I loved this one, it seems so simple to send emails here.
Ответитьwhy my message goes to spam folder, and how to fix it ?
Ответитьwhen using gmail: no longer supported as of May 30th, 2022
ОтветитьIs there a way we can add python script between like html? For eg like we have a whole text and we have to change some two values inside the html ? Is it possible
Ответитьyou explained things very nicely!
ОтветитьBro! how you set the email as important email?(priority)
Ответить@Corey Schafer
Thanx for posting such a comprehensive vid. None of the other videos on email via Python touched on Google settings regarding 2-step or TLS.
AMAZING
ОтветитьOn our RHEOS systems I am able to use /usr/sbin/sendmail or /bin/mailx to send simple plain text emails or even attachments. I am not logging in to a remote server ( that i know of ) to make this happen and yet I can send these messages. How can I access that same "pathway" using python and smtplib? I was able to send the emails as instructed using the 'localhost' but have not been able to send to other recipients. These machines are company machines and so I do not want to create an account with gmail or outlook to do this if possible.
ОтветитьThanks for the tut, as always it's very informative and explanatory.
You covered all but html content is visible in the mail and not the plain text which you set by msg.set_content("This is a plain text email") in the line 16. Would you please explain, I'm stuck at that point since 2 days.
Outdated for 2022, smtp is not allowed as secure access in google...
ОтветитьIt might be a REAL GOOD IDEA to post the code
So we don't need to pry it out of that github mess.
Hey, man is it possible to send outlook emails using smtp?
Ответитьhi ı have a issue when ı was writing my file path .According to the internet i ve written correct but for ATOM accepted if I only write full absolute path starting ffrom "C:".And it is so unfit could you hepl me ?
ОтветитьHey great video. Is there any way to attach a mp4 file?
ОтветитьYou can no longer use this method from gmail
Ответитьthank you for this amazing video
ОтветитьDoes all the email I send to has to have an app password? Because it ain't working!
It only works for the email I use to send with!
FROM GOOGLE: To help keep your account secure, from May 30, 2022, Google no longer supports the use of third-party Fapps or devices which ask you to sign in to your Google Account using only your username and password.
Important: This deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.
Hey Corey!
Recently google has blocked all 3rd party access and this method has started showing errror..
Do you suggest any other ways of sending email from python?
Thanks!
works like a charm, thank you
ОтветитьThis is sooo amazing and helpful thank you so much ❤️✨
ОтветитьGreat video, Corey! I am a total newbie to Python, and you made this so easy to follow. Could you possibly create a video or point me towards a resource where a Python script is used to send an HTML email with variable data from a SQL query? For example, if I wanted to email a simple summary report with the sum of deposit balances, deposit counts, loan balances, and loan counts with HTML formatting, could this be done with a Python script?
Ответитьhow o genarate emails with fixed date automaticly
ОтветитьGreat video... just want to know is it possible to send email to 100 or more people in same time?
Ответить