Send email in your language.
Framework guides for Next.js, Django, Laravel, and more—plus official SDKs for Node.js, Python, Go, Rust, PHP, Ruby, Elixir, Java, and .NET.
1
Get an API key and add a domain
2
Install the Node.js package
npm install reloop-email3
Send email with Node.js
send_email.ts
1import Reloop from 'reloop-email';2
3const reloop = new Reloop(process.env.RELOOP_API_KEY);4
5const { data, error } = await reloop.emails.send({6 from: 'Acme <onboarding@yourdomain.com>',7 to: ['delivered@yourdomain.com'],8 subject: 'Hello from Node.js',9 html: '<strong>It works!</strong>',10});11
12if (error) {13 console.error(error);14 return;15}16
17console.log('Email sent:', data.id);4
GitHub, examples, and API reference
5
Need more help?
- Need help? Contact Support.
- Chat with Reloop developers on Discord.
- Check out our changelog.
- Questions? Contact Sales.
- LLM? Read llms.txt.
Send email from your stack.
One API key. Every stack.
Create an account, verify a domain, and send from any framework or official SDK.