Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornersyrup/mail-command-support
VSCode extension that support mail related commands.
https://github.com/cornersyrup/mail-command-support
snippets syntax-highlighting vscode-extension vscode-language vscode-snippets
Last synced: about 2 months ago
JSON representation
VSCode extension that support mail related commands.
- Host: GitHub
- URL: https://github.com/cornersyrup/mail-command-support
- Owner: CornerSyrup
- License: mit
- Created: 2022-11-18T00:42:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T15:20:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T07:02:29.569Z (2 months ago)
- Topics: snippets, syntax-highlighting, vscode-extension, vscode-language, vscode-snippets
- Language: TypeScript
- Homepage:
- Size: 3.49 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# SMTP Command Support
![GitHub](https://img.shields.io/github/license/KleinChiu/mail-command-support)
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/KleinChiu/mail-command-support?sort=semver)
[![Deploy extension](https://github.com/KleinChiu/mail-command-support/actions/workflows/gh-release.yml/badge.svg)](https://github.com/KleinChiu/mail-command-support/actions/workflows/gh-release.yml)Try it out on [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=cornersyrup.mail-command-support)!
VSCode extension support mail related commands.
## Features
This extension provides the following features:
SMTP:
- Syntax highlight for SMTP commands
- Snippets for SMTP commandsPOP3:
- Syntax highlight for POP3 commands
- Snippets for POP3 commands
- Tab completion for POP3 commands## Usage
Here is an example to use this extension to create automated script.
1. Create a mail template.
2. Create a sending script
3. Run itThen you'll send a daily greeting mail to your love automatically.
`template.smtp`:
```smtp
MAIL FROM: [email protected]
RCPT TO: [email protected]
DATA
subject: Hi BobHow's your day?
%DATE%
QUIT
````greeting.sh`:
```sh
#! /bin/bashcat template.smtp | sed -e "s/%DATE%/$(date)/" | nc localhost 25
```### Syntax highlight
![](docs/usage.png)
![](docs/demo.gif)
## Release Notes
See [CHANGELOG](CHANGELOG.md)