Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
/ Mailing Public archive

Mailing script to invite everyone from the waitlist to download Mythic via email.

Notifications You must be signed in to change notification settings

MythicApp/Mailing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

9 Commits

Repository files navigation

Mythic Emailing

This project is a script for sending welcome emails to users based on a CSV file.

Installation

  1. Clone the repository.
  2. Install the dependencies by running bun i.

Usage

  1. Place your CSV file in the files directory.
  2. Set the required environment variables by renaming the .env.example file to .env and filling in the following values:
    • HOST: SMTP host for sending emails.
    • PORT: SMTP port.
    • SECURE: Set to true if the connection should be secure.
    • AUTH_USER: SMTP username.
    • AUTH_PASS: SMTP password.
    • FROM_EMAIL: Email address to use as the sender.
  3. Run the script by executing bun index.ts.

Email Template

The welcome email template is defined in the mailOptions object under html in the code. You can customize the HTML content to fit your needs.

Dependencies

  • fs: File system module for reading the CSV file.
  • path: Path module for resolving file paths.
  • csv-parse: CSV parsing library for parsing the CSV file.
  • nodemailer: Library for sending emails.

About

Mailing script to invite everyone from the waitlist to download Mythic via email.

Resources

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /