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: 28 days 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T15:20:29.000Z (over 3 years ago)
- Last Synced: 2025-01-10T00:14:35.226Z (over 1 year 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


[](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 commands
POP3:
- 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 it
Then you'll send a daily greeting mail to your love automatically.
`template.smtp`:
```smtp
MAIL FROM: alice@example.com
RCPT TO: bob@example.com
DATA
subject: Hi Bob
How's your day?
%DATE%
QUIT
```
`greeting.sh`:
```sh
#! /bin/bash
cat template.smtp | sed -e "s/%DATE%/$(date)/" | nc localhost 25
```
### Syntax highlight


## Release Notes
See [CHANGELOG](CHANGELOG.md)