Forum Discussion
husseinRizkana
Feb 17, 2025Copper Contributor
Sending emails using python SMTP from gmail to outlook being blocked
I am trying to send emails from my domains mailbox which is google based but it is being blocked with the following error: 450 4.7.26 Service does not accept messages sent over IPv6 [2607:f8b0:4864...
chedcore
Aug 06, 2025Brass Contributor
Enable low-security app access in Gmail and use SSL encryption in Python code:
import smtplib
server = smtplib.SMTP_SSL(smtp.gmail.com, 465)
server.login(email address removed for privacy reasons, app-password)