Skip to main content

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.

Metadata

Release files for cmail 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmail 1.0.0
File Size Uploaded Provenance Actions
cmail-1.0.0.tar.gz 3.5 kB Without provenance Details for cmail-1.0.0.tar.gz

Release files / cmail-1.0.0.tar.gz

Download URL cmail-1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
51e5a7895a396dd8e42a2fbc47207f0fc548cfb3fff325454da1c79490a64bbf
BLAKE2b-256 checksum
How to use checksums
d354d47b373d1d10e97719285288da565c65dbb5a2dd999692029bda8bcf28b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cmail 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page