[reloop-email]
Node.js
Send email from Node.js and TypeScript with the official SDK—async/await, full types, and framework guides for Next.js, Express, and more.
1
Install the Node.js package
npm install reloop-email2
Send email from 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);3
GitHub, examples, and API reference
4
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 with Node.js.
Get an API key and ship transactional email from Node.js using the official SDK.