Zmail: A Simplified Python Library for Sending Emails
Zmail is a Python library designed to simplify the process of sending emails. It addresses common pain points associated with traditional email sending methods, such as complex MIME construction, server configuration issues, and dealing with various authentication protocols.
Traditional approaches often involve manually constructing email heade ...
Posted on Wed, 16 Sep 2026 16:26:02 +0000 by AlexRodr
Implementing Password Recovery via Email in Android Applications
How to enable password recovery functionality through email in Android applications involves several key steps including server-side email configuration and client-side implementation.
Configuring Email Services
To implement email-based password recovery, you first need to configure you're email service provider. For instance, if using QQ email ...
Posted on Mon, 24 Aug 2026 16:47:29 +0000 by bodge
QQ Mail SMTP Error 550: Fixing 'The From header is missing or invalid' in Python
When using QQ Mail's SMTP server to send emails via Python's smtplib, you may encounter the error:
(550, b'The "From" header is missing or invalid. Please follow RFC5322, RFC2047, RFC822 standard protocol. https://service.mail.qq.com/detail/124/995.')
This typically happens when the From header in the email is incorrectly encoded.
Pr ...
Posted on Thu, 28 May 2026 17:43:18 +0000 by .evo.
Sending Email with Python via SMTP and SSL
import smtplib
from email.mime.text import MIMEText
sender = 'alice@example.com' # QQ mailbox address
auth_code = 'your-16-char-auth-code' # generated in QQ Mail settings
recipients = ['bob@example.com', 'carol@example.com']
title = 'Test message from Python'
body = '''
Hello,
This is a plain-text message sent with smtplib.
Regards, ...
Posted on Mon, 25 May 2026 18:51:37 +0000 by joquius