flutter_emailer 0.0.3 copy "flutter_emailer: ^0.0.3" to clipboard
flutter_emailer: ^0.0.3 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('[email protected]',"Test Subject");
  } catch (e) {
    debugPrint('Error: $e');
  }
}

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

3
likes
150
points
21
downloads

Publisher

verified publisherfermioninfotech.com

Weekly Downloads

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

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface, url_launcher

More

Packages that depend on flutter_emailer

Packages that implement flutter_emailer