Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 0.2.3
  • PyPI
  • Socket score

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc