Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coderaveHQ/dart_resend

dart_resend

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.

pub package License

Developed with πŸ’™ and maintained by scial.app

"Buy Me A Coffee"

Supported features

Email

Feature Available
Send Email βœ…
Retrieve Email βœ…
Send Batch Emails βœ…

Domains

Feature Available
Add Domain βœ…
Retrieve Domain βœ…
Verify Domain βœ…
Update Domain βœ…
List Domains βœ…
Delete Domain βœ…

API Keys

Feature Available
Create API key βœ…
List API keys βœ…
Delete API key βœ…

Audiences

Feature Available
Add Audience βœ…
Retrieve Audience βœ…
Delete Audience βœ…
List Audiences βœ…

Contacts

Feature Available
Add Contact βœ…
Retrieve Contact βœ…
Update Contact βœ…
Delete Contact βœ…
List Contacts βœ…

Quick Start πŸš€

Installation πŸ§‘β€πŸ’»

In the dependencies section of your pubspec.yaml, add the following line:

dependencies:
 dart_resend: <latest_version>

Usage πŸ‘½

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.'));

Contribution πŸ’™

Always open for contribution! Contributors will be listed here.

About

Resend email API client written in Dart

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /