mailgun_mailer

Last updated:

0 purchases

mailgun_mailer Image
mailgun_mailer Images
Add to Cart

Description:

mailgun mailer

Mailgun_mailer flutter
Features #

Mailgun_mailer is a simple library for composing and sending emails

Example #
import 'dart:developer';
import 'package:mailgun_mailer/src/mailer.dart';
import 'package:mailgun_mailer/src/model/request.dart';

void main() async {
final apiKey = '< APIKEY >';
final domain = '< DOMAIN >';
try {
final mailService = MailgunMailer(
apiKey: apiKey,
domain: domain,
);

final email = MailRequest(
content: 'Hola Mundo con MailGun Mailer !!!',
from: 'ejemplo <[email protected]>',
to: [' [email protected]'],
subject: 'Hola desde MailGun Mailer !!!',
);

await mailService.send(email);
} catch (e) {
log('Error: $e');
}
}

copied to clipboard

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.