New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

capacitor-email-composer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-email-composer

E-Mail Composer Plugin for Capacitor

  • 1.1.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
decreased by-98.89%
Maintainers
1
Weekly downloads
 
Created
Source

Capacitor E-Mail Composer

Maintenance npm

👉🏼 Note: this Plugin is developed for Capacitor V3

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

Donate

This and other Open-Source Cordova/Capacitor Plugins are developed in my 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 of Content

Install

npm install 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

ParamTypeDescription
optionsOpenOptionsoptional Options to prefill the E-Mail

Interfaces

OpenOptions
PropTypeDescription
tostring[]email addresses for TO field
ccstring[]email addresses for CC field
bccstring[]email addresses for BCC field
subjectstringsubject of the email
bodystringemail body
isHtmlbooleanindicats if the body is HTML or plain text (primarily iOS)

Changelog

The full Changelog is available here

Keywords

FAQs

Package last updated on 30 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc