Socket
Book a DemoInstallSign in
Socket

pymail2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pymail2

This is most easiest way to send email using smtp

pipPyPI
Version
0.2.3
Maintainers
1

pymail2

This library helps you send email with just an import

How to Install

through PyPI
pip install pymail2

How to Use

from pymail2 import PyMail

email_obj = PyMail(server_type = 'GMAIL', 
                    user = 'abc@example.com',
                    password = '***', 
                    from_email = 'abc@example.com',
                    to_email = 'xyz@example.com', 
                    subject = 'Your Wish',
                    template_path = 'path_for_the_html_template'
                 )

email_obj.send()

Need Help

Please add Issues through which I can help you in improving the library.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.