dart_resend

Creator: coderz1093

Last updated:

0 purchases

dart_resend Image
dart_resend Images

Languages

Categories

Add to Cart

Description:

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.


Developed with 💙 and maintained by scial.app

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>
copied to clipboard
Usage 👽 #
Import the package:
import 'package:dart_resend/dart_resend.dart';
copied to clipboard
Create an instance:
late final ResendClient resend;

void main() async {
final Resend result = Resend.initialize(apiKey: '...');
resend = result.client;
}
copied to clipboard
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 <[email protected]>',
to: <String>['[email protected]', '[email protected]'],
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.'));
copied to clipboard
Contribution 💙 #
Always open for contribution! Contributors will be listed here.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.