resend / resend-examples Goto Github PK
View Code? Open in Web Editor NEWResend examples
Home Page: https://resend.com/docs
License: MIT License
Resend examples
Home Page: https://resend.com/docs
License: MIT License
I was using version "react-email": "2.1.1"
and "@react-email/components": "0.0.16
" and the Heading component wasn't getting rendered.
When I switched back to "react-email": "2.0.0"
and @react-email/components": "0.0.14
, now the Heading component is getting displayed. Can you check what's wrong with the new updates. Thanks!
I'm facing issues sending ics files via resend api. The email contains the file but it is not possible to open it, for me it looks like that the file included in the email is in bytes.
when using the following query
"from": "noreply <[email protected]>",
"to": [
"[email protected]"
],
"subject": "hello world",
"text": "it works! with ics",
"headers": {
"X-Entity-Ref-ID": "123"
},
"attachments": [
{
"filename": "meeting.ics",
"content": "
BEGIN:VCALENDAR\n
VERSION:2.0\n
BEGIN:VEVENT\n
SUMMARY:MyMeeting\n
DESCRIPTION:Github\n
LOCATION:\n
DTSTART:20230907T130736Z\n
DTEND:20230907T132236Z\n
ORGANIZER;CN=Erik:mailto:[email protected]\n
ATTENDEE;CN=Erik;ROLE=REQ-PARTICIPANT:mailto:[email protected]\n
BEGIN:VALARM\n
TRIGGER:-PT15M\n
ACTION:DISPLAY\n
DESCRIPTION:Reminder\n
END:VALARM\n
END:VEVENT\n
END:VCALENDAR\n"
}
]
}
Seeing webhook fields here without that:
When viewing the example with iCal attachment here:
...with-ical/src/pages/api/send.ts
line 21 shows the Content-Type header being set:
However, when I run I am getting an error saying { data: null, error: { statusCode: 500, message: "Duplicate header 'Content-Type'.", name: 'application_error' } }
Any reason that might be? Sending without specifying this Content-Type header is related to this issue, I believe: resend/resend-node#198
There should be an example of using resend in a Rust-based application. I suggest we use Actix web, Axum, etc. If this works, I would like to create the application and write an article about it.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)uuid
, @types/uuid
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@babel/cli
, @babel/core
, @babel/preset-env
, @babel/preset-react
)eslint-config-next
, next
)@types/react
, @types/react-dom
, react
, react-dom
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)with-sinatra/Gemfile
resend undefined
sinatra undefined
puma undefined
with-sinatra/docker-compose.yaml
with-sinatra/Dockerfile
ruby 3.3.0
with-attachments-content/package.json
with-attachments/package.json
next 14.1.1
react 18.2.0
react-dom 18.2.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-domains/package.json
dotenv ^16.0.3
next 14.1.1
react 18.2.0
react-dom 18.2.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-express-react-email/package.json
@react-email/render 0.0.12
express 4.18.3
resend 3.2.0
@babel/cli 7.23.9
@babel/core 7.23.9
@babel/preset-env 7.23.9
@babel/preset-react 7.23.3
@typescript-eslint/eslint-plugin 7.1.0
@typescript-eslint/parser 7.1.0
eslint 8.56.0
prettier 3.2.5
typescript 5.3.3
with-express-react-email/transactional/package.json
with-ical/package.json
ical-generator 7.1.0
next 14.1.1
react 18.2.0
react-dom 18.2.0
resend 3.4.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-nextauth/package.json
@next-auth/supabase-adapter 0.2.1
@supabase/supabase-js 2.39.7
jsonwebtoken 9.0.2
next 14.1.1
next-auth 4.24.6
nodemailer 6.9.11
react 18.2.0
react-dom 18.2.0
@types/jsonwebtoken 9.0.6
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-prevent-thread-on-gmail/package.json
next 14.1.1
react 18.2.0
react-dom 18.2.0
uuid 9.0.1
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@types/uuid 9.0.8
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-react-email/package.json
next 14.1.1
react 18.2.0
react-dom 18.2.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-react-email/transactional/package.json
with-unsubscribe-url-header/package.json
next 14.1.1
react 18.2.0
react-dom 18.2.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-webhooks/package.json
micro 10.0.1
next 14.1.1
react 18.2.0
react-dom 18.2.0
slack-notify 2.0.7
svix 1.20.0
@types/node 20.11.20
@types/react 18.2.61
@types/react-dom 18.2.19
@typescript-eslint/eslint-plugin 7.1.0
eslint 8.56.0
eslint-config-next 14.1.1
prettier 3.2.5
typescript 5.3.3
with-webhooks-python-flask/requirements.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.