Skip to main content

CLI Mail System

This Is a simple Mail System which is used to Read and send mails using gmail api. If You want to try the beta version of this then install it using python python package index(pip) via following command

$ pip3 install climailsystem

You can use this module as command line tool or you can use it as python module

CLI Guide

$ climail --help

This will show You all the valid commands available

Usage: climail [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  deleteapicreds
  mdetails
  relogin
  sendmessage
  sendmessage-attach
  udetails

arguments of command

$ climail sendmessage --help
Usage: climail sendmessage [OPTIONS] EMAIL_ID_OF_SENDER SUBJECT MSSG

Options:
  --help  Show this message and exit.

Module Guide

import sendmail
mssg = sendmail.sendmessage(email_address_of_sender,subject,mssg)
#used for sending email without attachment
mssg_attach  = sendmail.sendmessage(email_address_of_sender,subject,mssg,path_of_file_to_be_shared)
#used for sending email with attachment
user_details = sendmail.userdetails()
#used for checking details of user like email id, displaydetails
user_mssg_details = sendmail.usermessagedetails()
#used for checking details of user messages like total number of messages, threads etc
logout = sendmail.login()
#used for changing the user 
delete_Creds = sendmail.deleteapicreds()
#used for changing api creds

For Using this module you need Api credentials of Gmail Api , You can use the credentials present in client.json simply copy the credentials and paste it or you can create your own credentials at developer console. Please note that this is the one time process only i.e you have to enter the credentials only on your 1st use. when you will run this module as command line Interface for 1st time or will import this module in your project for 1 st time then a message will be displayed on Your screen.

Enter Creds

Then copy your api credentials and paste it on console.

Metadata

Release files for climailsystem 0.111

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

Source distribution (sdist)

Source distribution for climailsystem 0.111
File Size Uploaded
climailsystem-0.111.tar.gz 5.4 kB Details

Release files / climailsystem-0.111.tar.gz

Download URL climailsystem-0.111.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7301014f4d0eab9c640e747fd9d531055740bb1d698592c948670c6b857c0d44
BLAKE2b-256 checksum
How to use checksums
112687e74585dd1558f48b9adeafc7b34e861e75004daa66d3887fff6dd3f5ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.111 This release

1 release file

0.11

1 release file

0

2 release files

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