resend

Creator: coderz1093

Last updated:

0 purchases

resend Image
resend Images
Add to Cart

Description:

resend

resend dart #


Dart library for the Resend API.
Platform Support #



Android
iOS
MacOS
Web
Linux
Windows













Setup #
First, you need to get an API key, which is available in the Resend Dashboard.
Usage #
Import package:resend/resend.dart
class MyApp extends StatelessWidget {
const MyApp({super.key});

@override
Widget build(BuildContext context) {
Resend(apiKey: "re_123456789");

return MaterialApp(
...
);
}
}
copied to clipboard
Create Instance of Resend #
final resend = Resend.instance;
copied to clipboard
Usage #
Send your first email:
resend.sendEmail(
from: 'you@example.com',
to: 'user@gmail.com',
subject: 'hello world',
text: 'it works!',
);
copied to clipboard
Send email using HTML #
Send an email custom HTML content:
resend.sendEmail(
from: 'you@example.com',
to: 'user@gmail.com',
subject: 'hello world',
html: '<strong>it works!</strong>',
);
copied to clipboard
Learn more #

API Documentation
Plugin documentation website

License #
MIT License

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.

Related Products

More From This Creator