flutter_emailer 0.0.2 copy "flutter_emailer: ^0.0.2" to clipboard
flutter_emailer: ^0.0.2 copied to clipboard

This plugin in to open mail and send mail with different cases

flutter_emailer #

This plugin in to open mail and send mail with different cases.

Getting Started #

Different use cases are-

  1. openEmailApp()
  2. openEmailWithForSingleReceiverOnly(String receiverEmailId,List
  3. openEmailWithForMultipleReceiverOnly(List
  4. openEmailWithForSingleReceiverWithSubject(String receiverEmailId, String subject, List
  5. openEmailWithForMultipleReceiverWithSubject(List
  6. openEmailWithBodyOnly(String body, , List

Permissions #

Android #

  1. Add the following permissions to your AndroidManifest.xml file:
<queries>
<intent>    
    <action android:name="android.intent.action.SENDTO" />    
    <data android:scheme="mailto" />
</intent>
</queries>

Implementation #

  1. To use this package, add the package to your pubspec.yaml file:
dependencies:
flutter_emailer: ^0.0.1
  1. Import the package:
import 'package:flutter_emailer/flutter_emailer.dart';
  1. Usage:
void _openEmailWithSubject() async {
  try {
    await FlutterEmailer.openEmailWithForSingleReceiverWithSubject('receiverEmail@gmail.com',"Test Subject");
  } catch (e) {
    debugPrint('Error: $e');
  }
}

Developed by:
Ruchita Bhaskar
Personal email - ruchita.bhaskar@gmail.com
Work email - ruchitab@fermion.in
LinkedIn - https://www.linkedin.com/in/ruchita-bhaskar-823488180 Publisher's LinkedIn - https://www.linkedin.com/company/fermioninfotech?trk=profile-position

3
likes
0
points
32
downloads

Publisher

verified publisherfermioninfotech.com

Weekly Downloads

This plugin in to open mail and send mail with different cases

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface, url_launcher

More

Packages that depend on flutter_emailer