Skip to main content

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!!!

Release files for caesar 0.1.3

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

Source distribution (sdist)

Source distribution for caesar 0.1.3
File Size Uploaded
caesar-0.1.3.tar.gz 6.1 kB Details

Release files / caesar-0.1.3.tar.gz

Download URL caesar-0.1.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f7f89f22a1f550cf164cb534d32629052232b06a4f0b09c7f3163ee1893f5f13
BLAKE2b-256 checksum
How to use checksums
f1f91c392b1186df25ff7269e148c80fb653ff4bee9f677406ba36177e344d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

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