Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmail

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmail

A simple command-line email client!

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

|PyPI| |license|

cmail

A simple command-line email client!

  • send email with attachments
  • save contacts

Installation

To install cmail, simply,

::

$ pip install bshare

Usage

  • Help command:

    ::

    $ cmail -h
    
    usage: cmail.py [-h] [-m] [-c] [-r] [-a name email]
    
    A simple command-line email client!
    
    optional arguments:
      -h, --help            show this help message and exit
      -m, --mail            Send mail.
      -c, --contacts        Shows the saved email contacts.
      -r, --reset           Reset contacts list to default.
      -a name email, --add name email
                            Add new contact.
    
  • To send mail:

    ::

    $ cmail -m
    
    To: example@gmail.com
    Subject: test
    Text: hi there!
    Want to attach any files? (y/n): n
    Enter username (press Enter to use default 'me'): indianpythonista@gmail.com
    Enter password:  
    Your mail was sent successfully!
    
  • To save a contact:

    ::

    $ cmail -a me nikhilksingh97@gmail.com
    New contact saved!
    
  • To show contacts:

    ::

    $ cmail -c
    
    +---------+--------------------------+
    | name    | email                    |
    +=========+==========================+
    | me      | nikhilksingh97@gmail.com |
    +---------+--------------------------+
    | example | example@example.com      |
    +---------+--------------------------+
    
  • Clear contacts list:

    ::

    $ cmail -r
    
    Contacts list reset to default.
    

.. |PyPI| image:: https://img.shields.io/badge/PyPi-v1.0.0-f39f37.svg :target: https://pypi.python.org/pypi/cmail .. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000 :target: https://github.com/nikhilkumarsingh/cmail/blob/master/LICENSE.txt

Keywords

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