@@devguyahnaf That problem got resolved, it was a syntax error, but now I'm facing an AssertionError: This message does not specify a sender and a default sender has not been configured.
@@devguyahnaf I'm not getting it exactly, I have used the code that you referred in your GitHub repository, only the recipient name has been changed, do I have to add anything else ? I'm using a different template, is that the problem maybe ?
hey, google mail wont accept outlook connection so i used yahoo mail which worked, but when i try to send a mail i get this "smtplib.SMTPServerDisconnected: Connection unexpectedly closed" this is the configuration i used app.config['MAIL_SERVER'] = "smtp.mail.yahoo.com" app.config['MAIL_PORT'] = 587 app.config['MAIL_USE_TLS'] = True app.config['MAIL_USE_SSL'] = False app.config['MAIL_USERNAME'] = mail_username app.config['MAIL_PASSWORD'] = mail_password mail = Mail(app)
Good job 👍👍 ,
Nice Tutorial
How to put image in main blog post by using flask , how to put it in admin panel .
Thank you
Great tutorial but i can't find the code source it's not found at github
Heyy! Why am I getting a SMTPServerDisconnected error? You have any idea to fix that issue?
Thank you very much, very good tutorial! Could you share the link to the code?
It's in the video description
Great Tutorial Man!
Although when I'm sending the mail, I'm getting a Connection Refused Error, any idea how I can sort it ?
Can you show me the full error log from the console?
@@devguyahnaf That problem got resolved, it was a syntax error, but now I'm facing an AssertionError: This message does not specify a sender and a default sender has not been configured.
@@daksheshsharma1747 the sender would be your email that you used for the smtp
@@devguyahnaf I'm not getting it exactly, I have used the code that you referred in your GitHub repository, only the recipient name has been changed, do I have to add anything else ?
I'm using a different template, is that the problem maybe ?
@@daksheshsharma1747 I do not know about that. I can help you more in chat instead of comments. You can contact me on Discord. My username: Ahnaf#4346
A very good video. I have learned many new things. Expecting more.
😁 Thanks a lot 😎
hey, google mail wont accept outlook connection so i used yahoo mail which worked, but when i try to send a mail i get this "smtplib.SMTPServerDisconnected: Connection unexpectedly closed"
this is the configuration i used
app.config['MAIL_SERVER'] = "smtp.mail.yahoo.com"
app.config['MAIL_PORT'] = 587
app.config['MAIL_USE_TLS'] = True
app.config['MAIL_USE_SSL'] = False
app.config['MAIL_USERNAME'] = mail_username
app.config['MAIL_PASSWORD'] = mail_password
mail = Mail(app)
it's a problem on Yahoo's side. Worked for me when I used GMail. But Gmail sometimes gives issues so I use Outlook
I'm getting the following error: "TypeError: _MailMixin.send() missing 1 required positional argument: 'message'"
This is my Message Code: msg = Message(subject=f"Mail from: {cu_last_name},{cu_first_name}", body=f"E-Mail: {cu_email}
Phone: {cu_phone}
Subject: {cu_subject}
Message: {cu_message}", sender=mail_username, recipients=['blanked-out for this post])
No other errors with the form fields...
Thank-you...its a great video
Great! What is your theme of VS? Its pretty cool
Thanks!
I used Aurora X in the video: marketplace.visualstudio.com/items?itemName=marqu3s.aurora-x
Hey I'm getting a nintendo switch and 4 games
Nintendo switch 🤢. But if that's what you want then it's good. (Maybe) Im getting a graphics card after exam. After that I can make better videos
Hey man, dont know if u can help me out but when i send the form it gives me an internal server error ?
Do u know any reason why it keeps saying that
@@t__t5438 what does it show in the console?
@@devguyahnaf nvm fixed it
Did you get the domain for ur website for free?
What domain are you talking about? If you are talking about my domain ahnafzamil.com, I had to pay for it
@@devguyahnaf I thought you got it by coding for free 😁😁
I'm getting error, It says : cannot import name 'mail_username' from 'config'
Do you have a config.py file? And does that have a variable called mail_username?
@@devguyahnaf yes, I did same as you, error occurs while importing it
@@prachitigholap7236 Check out the code on my GitHub. Link in description
@@devguyahnaf thank you
I get this when i click the send button " it seems that my mail server is not responding " please help me 🙏🙏
Did you set up the Outlook SMTP?
@@devguyahnaf i didn't set anything, i just to click send button
@@rinsyarifuddin8696 You need to set your SMTP details
@@devguyahnaf how to set SMTP??
@@rinsyarifuddin8696 I showed that in the video. Watch it carefully
WoW!
Thanks!!!