https://github.com/resend/resend-elixir-example
This example shows how to use Resend with Elixir
https://github.com/resend/resend-elixir-example
Last synced: about 1 month ago
JSON representation
This example shows how to use Resend with Elixir
- Host: GitHub
- URL: https://github.com/resend/resend-elixir-example
- Owner: resend
- License: mit
- Created: 2023-06-05T00:09:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T08:36:15.000Z (over 2 years ago)
- Last Synced: 2025-03-01T21:02:04.843Z (over 1 year ago)
- Language: Elixir
- Homepage: https://resend.com/docs/send-with-elixir
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> [!IMPORTANT]
> This repository has been consolidated into the new [resend-examples](https://github.com/resend/resend-examples) monorepo, which contains updated examples for all languages and frameworks.
>
> **[View the Elixir examples here](https://github.com/resend/resend-examples/tree/main/elixir-resend-examples)**
---
# Resend with Elixir
This example shows how to use Resend with [Elixir](https://elixir-lang.org/).
## Prerequisites
To get the most out of this guide, you’ll need to:
* [Create an API key](https://resend.com/api-keys)
* [Verify your domain](https://resend.com/domains)
## Instructions
1. Replace `re_123456789` in `lib/app.ex` with your API key.
2. Install dependencies:
```sh
mix deps.get
```
3. Execute the following command:
```sh
mix run -e App.send_email
```
## License
MIT License