Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A command line e-mail helper

Project description

Caesar

Stories in Ready

A command line e-mail helper

Usage

Save email id and password in a configuration file. Henceforth, password for email id will be extracted from file itself. Don’t worry about password readibility in configuration file, it’s encoded.

$:  caesar -sc abc@gmail.com
Enter password:

Save server settings, IP and port number to send mail using the mailing client. The first value given eg: ‘ymail’ in following sample will be used henceforth for referring the server’s settings.

$:  caesar -ss ymail smtp.mail.yahoo.com 587

To further use this server settings for mailing,

$:  caesar -c ymail

This will allow sending mail using a yahoo email id

With caesar sending a single line mail is as easy as blinking an eye.

$:  caesar -m 'Your message here'
Enter recipients address: abc@yahoo.com
Give a subject: Subject here
Enter login details
Email: abc@gmail.com
Mail sent

Add all files to be attached in one go!

$:  caesar -f file1.txt file2.py
Enter recipients address: abc@yahoo.com
Give a subject: Attaching files
Enter login details
Email: abc@gmail.com
Mail sent

Type your message in editor along with attachments

$: caesar -f IMG.jpg -e -m 'hey'
Enter recipients address: abc@yahoo.com
###Message opens up in vim here###
Give a subject: hi
Enter login details
Email: abc@gmail.com
Mail sent

This is not it, you can mix and match options according to your need. Send message along with attachments or open an editor for typing message.

$:  caesar -m 'Your message here' -f file1 file2

OR

$:  caesar -m 'Your message here' -f file1 file2 -e

Enjoy e-mailing!!!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for caesar, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size caesar-0.1.3.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page