How to sendfrom
Follow these steps to connect Email, send from Next.js, and track delivery.
1
Connect your platform
Set up email notifications with yeetpost:
- Go to app.yeetpost.com
- Click Add connection and select Email
- Enter the recipient email address
- Verify with the code sent via email
Paste your connection slug here and we'll auto-fill it into the code examples below.
2
Get your API key
Get your API key from the yeetpost dashboard:
- Go to app.yeetpost.com/settings
- Copy your API key
Paste your API key here and we'll auto-fill it into the code examples below.
3
Send your post
Install the yeetpost package:
npm install yeetpostSet your API key as an environment variable in .env.local:
YEETPOST_API_KEY=<your-api-key>Send a post:
import { yeetpost } from "yeetpost";
await yeetpost({
connection: "<your-connection-slug>",
text: "Hello from yeetpost!",
});4
Track your posts
Monitor all your posts from the yeetpost dashboard:
- Go to the Feed tab in the yeetpost dashboard
- View all posts sent via yeetpost, including status and timestamps
5
Review the security checklist
Review the Security Checklist to ensure your implementation is secure.
Related guides
Related resources
Copy this guide (with your values) for use with LLMs or sharing with colleagues.