Solution of sending mails in Python, Django or Flask.. SOLVED

2023-01-24 Thread It's Aladdin
import smtplib my_email = "some...@gmail.com" password = "sfuyyudfgyudgfydsg" with smtplib.SMTP('smtp.gmail.com') as connection: connection.starttls() connection.login(user=my_email, password=password) connection.sendmail( from_addr=my_email,

Re: Email Sending In Django not working

2023-01-24 Thread It's Aladdin
p name) and click generate. >>>> 6. Copy the app password as it's view once and cannot be viewed after the >>>> pop up is closed. >>>> 7. Go to your settings.py file and replace your actual email password with >>>> the generated app pas

Re: Email Sending In Django not working

2022-11-09 Thread It's Aladdin
Google hast stopped less secure apps, so u cant send email messages anymore with ur email and password, U will have to find some other way of sending mails. On Wed, 9 Nov, 2022, 16:26 peteru mimo, wrote: > Good day team, > > I have been facing this challenge in sending mail in django > > here