Comments (3)
Do you want to send actual emails to inbox or just sending to for example [email protected]
and returning a success event would work?
from resend-node.
just a fake success response, something like this:
class MockResend extends Resend {
sendEmail = async (data: SendEmailData): Promise<SendEmailResponse> => {
const { react, ...rest } = data;
const { props } = react;
log("Would have sent email in production", { ...rest, props });
return {
id: "xxx",
created_at: "xxx",
} as SendEmailResponse;
};
}
from resend-node.
It's not yet documented, but we worked on sending emails with our testing emails. So try sending an email to and let me know
from resend-node.
Related Issues (20)
- "Headers is not defined" error message when setting up the API key HOT 1
- CommonJS Error when importing js-beautify HOT 9
- Package subpath './build/src/interfaces' is not defined by "exports" HOT 2
- audienceId variable mislabeled for contacts
- Can't Update a Contact's Email HOT 1
- Resend SDK design
- Resend dependency broke Jest HOT 1
- Missing `cid` for attachments to be embedded on email HTML HOT 1
- Resend dependency broke Vercel deploy
- Fallback solution HOT 1
- [bug?]: contacts API not working HOT 2
- auto reply HOT 1
- Headers is not defined
- NodeJS - Errors Not Throwing Thus Avoiding Catch Block of Try Catch HOT 2
- client should handle raw html load balancer error responses HOT 2
- Setting "Content-Type" header is not possible anymore
- Works in dev. env but not in production.... HOT 1
- Why Resend need React to work in Express?? HOT 3
- renderToStream is not a function on react@canary HOT 1
- Type annotations improvement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resend-node.