
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
A command-line interface (CLI) tool for managing email drafts, configuring SMTP settings, and sending emails.
A command-line interface (CLI) tool for managing email drafts, configuring SMTP settings, and sending emails.
To use this CLI tool, you must have Node.js installed. Clone the repository and install the dependencies.
git clone https://github.com/your-repo/mail-cli-tool.git
cd mail-cli-tool
npm install
Run the CLI tool using the following command:
node index.js <command> [options]
Configure the tool with your email settings and editor preferences.
node index.js --setup --smtp-host <host>
node index.js --setup --smtp-port <port>
node index.js --setup --auth-user <username>
node index.js --setup --auth-pass <password>
node index.js --setup --set-secure
node index.js --setup --set-unsecure
node index.js --setup --set-editor <editor>
node index.js --setup --view-config
node index.js --setup --edit-config
Manage your email drafts with the following commands:
node index.js --draft --new [--tag <tagname>]
node index.js --draft --get-draft-list
node index.js --draft --get-draft <draft_id or tag_name>
node index.js --draft --edit-draft --subject <draft_id or tag_name> <new_subject>
node index.js --draft --edit-draft --body <draft_id or tag_name> <new_body>
node index.js --draft --send [<draft_id or tag_name>]
The configuration is stored in a config.json file. You can set up the following properties:
Drafts are stored in the VOLUMES/Drafts/ directory, and their metadata is maintained in the VOLUMES/drafts.json file. You can create, edit, and send drafts using the commands provided in the Draft Commands section.
Use the following url in your browser
https://accounts.zoho.in/home#profile/personal
Go to Account Section in top left corner, and go to Security and select Password
Go to App Specific Password Section, and select "Generate New Password"
Give a new App name, and select Generate to create a new Application
Open your Google Account : and go to search Bar.
Search for App Passwords.
create a new App Password
This project is licensed under the MIT License
### Notes:
- The structure of the `README.md` is designed to guide users through installing and using the CLI tool.
- The sections cover how to configure the SMTP settings, manage drafts, and access help within the tool.
- You should replace the placeholder repository URL in the installation instructions with the actual repository URL when deploying.
FAQs
A command-line interface (CLI) tool for managing email drafts, configuring SMTP settings, and sending emails.
The npm package mail-cli receives a total of 2 weekly downloads. As such, mail-cli popularity was classified as not popular.
We found that mail-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.