https://github.com/aexol-studio/mailik
React/NextJS email sender
https://github.com/aexol-studio/mailik
contact-form email email-sender emailjs forms nextjs react reactjs
Last synced: 5 months ago
JSON representation
React/NextJS email sender
- Host: GitHub
- URL: https://github.com/aexol-studio/mailik
- Owner: aexol-studio
- Created: 2023-07-25T14:18:43.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-07-24T17:19:00.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T14:37:07.132Z (about 1 year ago)
- Topics: contact-form, email, email-sender, emailjs, forms, nextjs, react, reactjs
- Language: HTML
- Homepage: https://mailik.dev
- Size: 686 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## What is Mailik?
Mailik is small library for sending emails via yours websites whch via simple SDK provide a easy way for managing projects, apps, landigpages forms in yours organization. No server code required.
## Usage
### 1. Installation & usage
Instal Mailik via npm
```sh
$ npm i @mailik/sdk
```
Import Mailik to yours file
```ts
import Mailik from "@mailik/sdk";
```
Usage
```ts
const result = await Mailik("yours-project-public-key").send({
subject: "Mail subject",
body: "Mail body",
replyTo: "To who recipient should reply",
});
```
### 2. Create account
Go to [https://mailik.dev](https://mailik.dev/) and create an account.
### 3. Create yours first project group
Project groups are simple way for organizing yours work. You can have multiple projects in one group where each project is setup for diffrent environment (development, production, etc.).

### 4. Creating first project
Each project must have:
- name
- for which project group belongs
- at least one e-mail address for sending messages
Project can have multiple email adresses where emails from your website will be send.
You can add URLs from which sending emails for a specific project will be allowed, you will be notified if someone will try to send emails with yours project public key from not allowed websites
