Crates.io | smail |
lib.rs | smail |
version | 0.2.0 |
source | src |
created_at | 2022-11-10 05:41:04.381474 |
updated_at | 2024-11-24 17:50:54.410597 |
description | Cli tool to easily send emails with attachments |
homepage | https://github.com/bocarw121/s-mail-cli.git |
repository | https://github.com/bocarw121/s-mail-cli.git |
max_upload_size | |
id | 709255 |
size | 53,254 |
Send emails with attachments from the command line using your gmail account More accounts support coming soon
Run the following command to get instructions on how to get your Gmail app password
smail instructions
$ smail credentials -p smtp.gmail.com -e myemail@gmail.com -c super-secret-password # stores your credentials for future use this is encrypted
$ smail send -t recipient-email@gmail.com -s "Here is the pdf file" -a ./filename.pdf # send an email with a subject and an attachment
smail list
# list all credentials ie
{
"provider": "smtp.gmail.com",
# Hashed password
"password": "d29lZHJteGNxcHh3cmFyaA==",
"email": "myemail@gmail.com",
}
Cli tool to easily send emails with attachments
Usage: smail <COMMAND>
Commands:
instructions Get instructions on how to set up your credentials
credentials Store your email, password, and provider
send Send an email
list Get a list of all the credentials
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version