Skip to content

racoonapps/capacitor-email-composer

This branch is 3 commits ahead of, 41 commits behind EinfachHans/capacitor-email-composer:dev.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 17, 2022
977a0cb · Aug 17, 2022

History

18 Commits
Oct 13, 2021
Nov 22, 2021
Oct 20, 2021
Oct 19, 2021
Jun 10, 2021
Jun 10, 2021
Jun 10, 2021
Aug 17, 2022
Jun 10, 2021
Jun 10, 2021
Sep 15, 2021
Aug 17, 2022
Aug 17, 2022
Aug 17, 2022
Oct 13, 2021
Jun 10, 2021
Jun 10, 2021

Repository files navigation

Capacitor E-Mail Composer

Maintenance

👉🏼 Note: this Plugin is forked from EinfachHans Repository to work with Capacitor V4

This Plugin is used to open a native E-Mail Composer within your Capacitor App.

Please consider donating to EinfachHans as the original author: Donate

This and other Open-Source Cordova/Capacitor Plugins are developed in free time. To help ensure this plugin is kept updated, new features are added and bugfixes are implemented quickly, please donate a couple of dollars (or a little more if you can stretch) as this will help me to afford to dedicate time to its maintenance. Please consider donating if you're using this plugin in an app that makes you money, if you're being paid to make the app, if you're asking for new features or priority bug fixes.

'**Table

Install

npm install @racoonapps/capacitor-email-composer
npx cap sync

API

hasAccount()

hasAccount() => Promise<{ hasAccount: boolean; }>

Checks if the User can send a Mail iOS: Check if the current Device is configured to send mail Android: Currently does nothing

Returns: Promise<{ hasAccount: boolean; }>


open(...)

open(options?: OpenOptions | undefined) => Promise<void>

Open the E-Mail Composer

Param Type Description
options OpenOptions optional Options to prefill the E-Mail

Interfaces

OpenOptions

Prop Type Description
to string[] email addresses for TO field
cc string[] email addresses for CC field
bcc string[] email addresses for BCC field
subject string subject of the email
body string email body
isHtml boolean indicats if the body is HTML or plain text (primarily iOS)

Changelog

The full Changelog is available here

About

E-Mail Composer Plugin for Capacitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 29.8%
  • JavaScript 23.7%
  • Swift 23.0%
  • TypeScript 10.2%
  • Ruby 7.5%
  • Objective-C 5.8%