Skip to content

knyghtryda/flutter_email_sender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_email_sender

Allows send emails from flutter using native platform functionality.

In android it opens default mail app via intent. compileSdkVersion 28 is used in this plugin and it should be used in app too.

In iOS MFMailComposeViewController is used to compose an email.

Example

final Email email = Email(
  body: 'Email body',
  subject: 'Email subject',
  recipients: ['example@example.com'],
  cc: ['cc@example.com'],
  bcc: ['bcc@example.com'],
  attachmentPath: '/path/to/attachment.zip',
  isHTML: false,
);

await FlutterEmailSender.send(email);

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

About

Allows send emails from flutter using native platform functionality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 33.0%
  • Dart 31.3%
  • Swift 28.3%
  • Ruby 4.7%
  • Objective-C 2.7%