├── .gitignore ├── LICENSE.md ├── readme.md ├── renovate.json ├── with-attachments-content ├── .env.example ├── .gitignore ├── app │ ├── api │ │ └── send │ │ │ └── route.ts │ ├── layout.tsx │ └── page.tsx ├── lib │ └── resend.ts ├── package.json ├── public │ └── static │ │ └── invoice.pdf ├── readme.md └── tsconfig.json ├── with-attachments ├── .env.example ├── .gitignore ├── app │ └── api │ │ └── send │ │ └── route.ts ├── lib │ └── resend.ts ├── package.json ├── readme.md └── tsconfig.json ├── with-domains ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── package.json ├── readme.md ├── src │ ├── create-domain.ts │ ├── lib │ │ └── resend.ts │ ├── list-domains.ts │ ├── remove-domain.ts │ └── verify-domain.ts ├── tsconfig.json └── yarn.lock ├── with-express-react-email ├── .babelrc ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── package.json ├── readme.md ├── src │ ├── lib │ │ └── resend.ts │ └── server.ts ├── transactional │ ├── emails │ │ └── waitlist.tsx │ ├── package.json │ ├── readme.md │ └── yarn.lock ├── tsconfig.json └── yarn.lock ├── with-ical ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── pnpm-lock.yaml ├── public │ └── static │ │ └── sample.ics ├── readme.md ├── src │ ├── lib │ │ └── resend.ts │ └── pages │ │ └── api │ │ └── send.ts └── tsconfig.json ├── with-nextauth ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── src │ ├── lib │ │ ├── index.ts │ │ └── resend.ts │ ├── pages │ │ └── api │ │ │ └── auth │ │ │ └── [...nextauth].ts │ └── utils │ │ ├── index.ts │ │ └── send-verification-request.ts ├── tsconfig.json └── yarn.lock ├── with-prevent-thread-on-gmail ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── readme.md ├── src │ ├── lib │ │ └── resend.ts │ └── pages │ │ └── api │ │ └── send.ts ├── tsconfig.json └── yarn.lock ├── with-python-asyncio ├── .gitignore ├── LICENSE ├── app.py └── requirements.txt ├── with-react-email ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── readme.md ├── src │ ├── lib │ │ └── resend.ts │ └── pages │ │ └── api │ │ └── send.ts ├── transactional │ ├── emails │ │ └── waitlist.tsx │ ├── package.json │ ├── readme.md │ └── yarn.lock ├── tsconfig.json └── yarn.lock ├── with-sinatra ├── Dockerfile ├── Gemfile ├── Gemfile.lock ├── README.md ├── app.rb └── docker-compose.yaml ├── with-unsubscribe-url-header ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── readme.md ├── src │ ├── lib │ │ └── resend.ts │ └── pages │ │ └── api │ │ └── send.ts ├── tsconfig.json └── yarn.lock ├── with-webhooks-python-flask ├── .gitignore ├── LICENSE ├── README.md ├── app.py └── requirements.txt └── with-webhooks ├── .eslintrc.js ├── .prettierignore ├── .prettierrc.js ├── next-env.d.ts ├── package.json ├── readme.md ├── src ├── lib │ ├── index.ts │ ├── slack.ts │ └── webhook.ts ├── pages │ └── api │ │ └── webhooks.ts ├── types │ └── index.ts └── utils │ ├── index.ts │ └── slack-message.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | .next 2 | node_modules 3 | .DS_Store 4 | .env 5 | .react-email -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/LICENSE.md -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/readme.md -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/renovate.json -------------------------------------------------------------------------------- /with-attachments-content/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/.env.example -------------------------------------------------------------------------------- /with-attachments-content/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/.gitignore -------------------------------------------------------------------------------- /with-attachments-content/app/api/send/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/app/api/send/route.ts -------------------------------------------------------------------------------- /with-attachments-content/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/app/layout.tsx -------------------------------------------------------------------------------- /with-attachments-content/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/app/page.tsx -------------------------------------------------------------------------------- /with-attachments-content/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/lib/resend.ts -------------------------------------------------------------------------------- /with-attachments-content/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/package.json -------------------------------------------------------------------------------- /with-attachments-content/public/static/invoice.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/public/static/invoice.pdf -------------------------------------------------------------------------------- /with-attachments-content/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/readme.md -------------------------------------------------------------------------------- /with-attachments-content/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments-content/tsconfig.json -------------------------------------------------------------------------------- /with-attachments/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/.env.example -------------------------------------------------------------------------------- /with-attachments/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/.gitignore -------------------------------------------------------------------------------- /with-attachments/app/api/send/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/app/api/send/route.ts -------------------------------------------------------------------------------- /with-attachments/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/lib/resend.ts -------------------------------------------------------------------------------- /with-attachments/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/package.json -------------------------------------------------------------------------------- /with-attachments/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/readme.md -------------------------------------------------------------------------------- /with-attachments/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-attachments/tsconfig.json -------------------------------------------------------------------------------- /with-domains/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/.eslintrc.js -------------------------------------------------------------------------------- /with-domains/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-domains/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/.prettierrc.js -------------------------------------------------------------------------------- /with-domains/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/package.json -------------------------------------------------------------------------------- /with-domains/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/readme.md -------------------------------------------------------------------------------- /with-domains/src/create-domain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/src/create-domain.ts -------------------------------------------------------------------------------- /with-domains/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/src/lib/resend.ts -------------------------------------------------------------------------------- /with-domains/src/list-domains.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/src/list-domains.ts -------------------------------------------------------------------------------- /with-domains/src/remove-domain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/src/remove-domain.ts -------------------------------------------------------------------------------- /with-domains/src/verify-domain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/src/verify-domain.ts -------------------------------------------------------------------------------- /with-domains/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/tsconfig.json -------------------------------------------------------------------------------- /with-domains/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-domains/yarn.lock -------------------------------------------------------------------------------- /with-express-react-email/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/.babelrc -------------------------------------------------------------------------------- /with-express-react-email/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/.eslintrc.js -------------------------------------------------------------------------------- /with-express-react-email/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-express-react-email/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/.prettierrc.js -------------------------------------------------------------------------------- /with-express-react-email/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/package.json -------------------------------------------------------------------------------- /with-express-react-email/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/readme.md -------------------------------------------------------------------------------- /with-express-react-email/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/src/lib/resend.ts -------------------------------------------------------------------------------- /with-express-react-email/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/src/server.ts -------------------------------------------------------------------------------- /with-express-react-email/transactional/emails/waitlist.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/transactional/emails/waitlist.tsx -------------------------------------------------------------------------------- /with-express-react-email/transactional/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/transactional/package.json -------------------------------------------------------------------------------- /with-express-react-email/transactional/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/transactional/readme.md -------------------------------------------------------------------------------- /with-express-react-email/transactional/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/transactional/yarn.lock -------------------------------------------------------------------------------- /with-express-react-email/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/tsconfig.json -------------------------------------------------------------------------------- /with-express-react-email/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-express-react-email/yarn.lock -------------------------------------------------------------------------------- /with-ical/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/.eslintrc.js -------------------------------------------------------------------------------- /with-ical/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-ical/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/.prettierrc.js -------------------------------------------------------------------------------- /with-ical/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/next-env.d.ts -------------------------------------------------------------------------------- /with-ical/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/package.json -------------------------------------------------------------------------------- /with-ical/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/pnpm-lock.yaml -------------------------------------------------------------------------------- /with-ical/public/static/sample.ics: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/public/static/sample.ics -------------------------------------------------------------------------------- /with-ical/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/readme.md -------------------------------------------------------------------------------- /with-ical/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/src/lib/resend.ts -------------------------------------------------------------------------------- /with-ical/src/pages/api/send.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/src/pages/api/send.ts -------------------------------------------------------------------------------- /with-ical/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-ical/tsconfig.json -------------------------------------------------------------------------------- /with-nextauth/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/.eslintrc.js -------------------------------------------------------------------------------- /with-nextauth/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-nextauth/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/.prettierrc.js -------------------------------------------------------------------------------- /with-nextauth/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/next-env.d.ts -------------------------------------------------------------------------------- /with-nextauth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/package.json -------------------------------------------------------------------------------- /with-nextauth/src/lib/index.ts: -------------------------------------------------------------------------------- 1 | export * from './resend'; 2 | -------------------------------------------------------------------------------- /with-nextauth/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/src/lib/resend.ts -------------------------------------------------------------------------------- /with-nextauth/src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /with-nextauth/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './send-verification-request'; 2 | -------------------------------------------------------------------------------- /with-nextauth/src/utils/send-verification-request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/src/utils/send-verification-request.ts -------------------------------------------------------------------------------- /with-nextauth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/tsconfig.json -------------------------------------------------------------------------------- /with-nextauth/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-nextauth/yarn.lock -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/.eslintrc.js -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/.prettierrc.js -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/next-env.d.ts -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/package.json -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/readme.md -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/src/lib/resend.ts -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/src/pages/api/send.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/src/pages/api/send.ts -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/tsconfig.json -------------------------------------------------------------------------------- /with-prevent-thread-on-gmail/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-prevent-thread-on-gmail/yarn.lock -------------------------------------------------------------------------------- /with-python-asyncio/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | venv -------------------------------------------------------------------------------- /with-python-asyncio/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-python-asyncio/LICENSE -------------------------------------------------------------------------------- /with-python-asyncio/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-python-asyncio/app.py -------------------------------------------------------------------------------- /with-python-asyncio/requirements.txt: -------------------------------------------------------------------------------- 1 | asyncio 2 | resend -------------------------------------------------------------------------------- /with-react-email/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/.eslintrc.js -------------------------------------------------------------------------------- /with-react-email/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-react-email/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/.prettierrc.js -------------------------------------------------------------------------------- /with-react-email/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/next-env.d.ts -------------------------------------------------------------------------------- /with-react-email/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/package.json -------------------------------------------------------------------------------- /with-react-email/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/readme.md -------------------------------------------------------------------------------- /with-react-email/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/src/lib/resend.ts -------------------------------------------------------------------------------- /with-react-email/src/pages/api/send.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/src/pages/api/send.ts -------------------------------------------------------------------------------- /with-react-email/transactional/emails/waitlist.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/transactional/emails/waitlist.tsx -------------------------------------------------------------------------------- /with-react-email/transactional/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/transactional/package.json -------------------------------------------------------------------------------- /with-react-email/transactional/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/transactional/readme.md -------------------------------------------------------------------------------- /with-react-email/transactional/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/transactional/yarn.lock -------------------------------------------------------------------------------- /with-react-email/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/tsconfig.json -------------------------------------------------------------------------------- /with-react-email/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-react-email/yarn.lock -------------------------------------------------------------------------------- /with-sinatra/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/Dockerfile -------------------------------------------------------------------------------- /with-sinatra/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/Gemfile -------------------------------------------------------------------------------- /with-sinatra/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/Gemfile.lock -------------------------------------------------------------------------------- /with-sinatra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/README.md -------------------------------------------------------------------------------- /with-sinatra/app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/app.rb -------------------------------------------------------------------------------- /with-sinatra/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-sinatra/docker-compose.yaml -------------------------------------------------------------------------------- /with-unsubscribe-url-header/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/.eslintrc.js -------------------------------------------------------------------------------- /with-unsubscribe-url-header/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-unsubscribe-url-header/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/.prettierrc.js -------------------------------------------------------------------------------- /with-unsubscribe-url-header/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/next-env.d.ts -------------------------------------------------------------------------------- /with-unsubscribe-url-header/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/package.json -------------------------------------------------------------------------------- /with-unsubscribe-url-header/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/readme.md -------------------------------------------------------------------------------- /with-unsubscribe-url-header/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/src/lib/resend.ts -------------------------------------------------------------------------------- /with-unsubscribe-url-header/src/pages/api/send.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/src/pages/api/send.ts -------------------------------------------------------------------------------- /with-unsubscribe-url-header/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/tsconfig.json -------------------------------------------------------------------------------- /with-unsubscribe-url-header/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-unsubscribe-url-header/yarn.lock -------------------------------------------------------------------------------- /with-webhooks-python-flask/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode -------------------------------------------------------------------------------- /with-webhooks-python-flask/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks-python-flask/LICENSE -------------------------------------------------------------------------------- /with-webhooks-python-flask/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks-python-flask/README.md -------------------------------------------------------------------------------- /with-webhooks-python-flask/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks-python-flask/app.py -------------------------------------------------------------------------------- /with-webhooks-python-flask/requirements.txt: -------------------------------------------------------------------------------- 1 | flask 2 | svix -------------------------------------------------------------------------------- /with-webhooks/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/.eslintrc.js -------------------------------------------------------------------------------- /with-webhooks/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .vercel 4 | .env 5 | dist 6 | -------------------------------------------------------------------------------- /with-webhooks/.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/.prettierrc.js -------------------------------------------------------------------------------- /with-webhooks/next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/next-env.d.ts -------------------------------------------------------------------------------- /with-webhooks/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/package.json -------------------------------------------------------------------------------- /with-webhooks/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/readme.md -------------------------------------------------------------------------------- /with-webhooks/src/lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/lib/index.ts -------------------------------------------------------------------------------- /with-webhooks/src/lib/slack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/lib/slack.ts -------------------------------------------------------------------------------- /with-webhooks/src/lib/webhook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/lib/webhook.ts -------------------------------------------------------------------------------- /with-webhooks/src/pages/api/webhooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/pages/api/webhooks.ts -------------------------------------------------------------------------------- /with-webhooks/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/types/index.ts -------------------------------------------------------------------------------- /with-webhooks/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './slack-message'; 2 | -------------------------------------------------------------------------------- /with-webhooks/src/utils/slack-message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/src/utils/slack-message.ts -------------------------------------------------------------------------------- /with-webhooks/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/tsconfig.json -------------------------------------------------------------------------------- /with-webhooks/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/resend/resend-examples/HEAD/with-webhooks/yarn.lock --------------------------------------------------------------------------------