An extension built to effortlessly send test HTML emails without leaving Visual Studio Code.
Kirim uses a YAML front matter block at the top of the HTML document to store and process send data. This block is referred to as a config in the extension and can be saved in different configurations to use across other emails.
name: Test Team
to:
- test1@test.com
- test2@test.com
from: Test Name <test@test.com>
subject: This is a test email
Open a HTML document in the editor and initiate the command palette Ctrl-Shift-P (Windows/Linux) or Cmd-Shift-P (macOS) and search for Kirim. Alternatively, launch a list of commands by clicking on Kirim in the status bar of the editor.
Select Kirim: Load Config to generate a default config block placed at the top of the HTML document.
Enter the required data in the newly created config block. If the data contains any of these characters :-{}[]!#|>&%@ wrap it in quotes to avoid errors (example below).
subject: "Woo! This is a test email"
Initiate the command palette again and select Kirim: Save Key then paste in your SendGrid API key which will be stored in extension settings.
Finally, run Kirim: Send Email to dispatch your first test send and watch the magic happen.
Config Overview
name - A name which identifies the config once saved to - The list of email addresses being sent to from - The from name and email address subject - A subject line for the email being sent