smtplib
Stdlib — NetworkingPython 2.0+Advanced
SMTP protocol client for sending email
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import smtplib print(f"Module: smtplib") print(f"Contents: {dir(smtplib)[:10]}")
The smtplib module is part of Python's standard library. SMTP protocol client for sending email.
Try in PlaygroundTags
stdlibnetworkinginternet