flutter_email_js 1.0.0 copy "flutter_email_js: ^1.0.0" to clipboard
flutter_email_js: ^1.0.0 copied to clipboard

A new Flutter Package to integrated Email Js service easily into your flutter project.

EmailJS SDK for Flutter #

SDK for EmailJS.com services. Login to EmailJS account for sending emails. https://www.emailjs.com/

Features #

FlutterEmailJS enables you to send emails directly from your code with minimal knowledge required. Simply connect FlutterEmailJS to a supported email service, create an email template, and use our SDK to send emails.

Getting started #

Install FlutterEmailJS SDK:

$ flutter pub add emailjs 

Examples #

import package:flutter_email_js/flutter_email_js.dart

Map<String, dynamic> templateParams = {
   "user_subject" : "Your subject will be here",
   "user_message" : "Your Message",
   "user_name"    : "Name of Receiver",
   "user_email"   : "Email of receiver",
   "reply_email"  : "Enter the email address where you would like to receive replies from users."
};

try {
  String result = await FlutterEmailJS.sendEmail(
    serviceId:  'YOUR_SERVICE_ID',
    templateId: 'YOUR_TEMPLATE_ID',
    userId: 'USER_ID'
    accessToken : 'ACCESS_TOKEN'
    templateParams,
  );
   print(result);
  
} catch (error) {
  print(error.toString());
}

Additional information #

For More Information: Contact to javedmughal609@gmail.com

8
likes
0
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter Package to integrated Email Js service easily into your flutter project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on flutter_email_js