Resend made easy! π
A Dart package for interacting with the Resend API. It provides a set of utilities and models to facilitate integration with Resend's powerful email capabilities.
Developed with π and maintained by scial.app
| Feature | Available |
|---|---|
| Send Email | β |
| Retrieve Email | β |
| Send Batch Emails | β |
| Feature | Available |
|---|---|
| Add Domain | β |
| Retrieve Domain | β |
| Verify Domain | β |
| Update Domain | β |
| List Domains | β |
| Delete Domain | β |
| Feature | Available |
|---|---|
| Create API key | β |
| List API keys | β |
| Delete API key | β |
| Feature | Available |
|---|---|
| Add Audience | β |
| Retrieve Audience | β |
| Delete Audience | β |
| List Audiences | β |
| Feature | Available |
|---|---|
| Add Contact | β |
| Retrieve Contact | β |
| Update Contact | β |
| Delete Contact | β |
| List Contacts | β |
In the dependencies section of your pubspec.yaml, add the following line:
dependencies: dart_resend: <latest_version>
Import the package:
import 'package:dart_resend/dart_resend.dart';
Create an instance:
late final ResendClient resend; void main() async { final Resend result = Resend.initialize(apiKey: '...'); resend = result.client; }
Make use of one of the many methods provided by this package e.g.:
final ResendResult<ResendSendEmailResponse> response = await resend.email .sendEmail( from: 'scial Developer <dev@scial.app>', to: <String>['fleeser@scial.app', 'sroepges@scial.app'], subject: 'Check out this package', text: 'WOW! This package is awesome!'); response.fold( onSuccess: (ResendSendEmailResponse data) => print('E-Mail sent!'), onFailure: (ResendError? error, String? message) => print('Error occured.'));
Always open for contribution! Contributors will be listed here.