Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

react native bindings for https://github.com/MailCore/mailcore2, based on react-native-mailcore, customized for thu info

Notifications You must be signed in to change notification settings

thu-info-community/thu-info-mailcore

 
 

Repository files navigation

thu-info-mailcore

react native bindings for https://github.com/MailCore/mailcore2, based on react-native-mailcore, customized for thu-info

WARNING: For android projects targeting API 30 and above, exclude 'META-INF/NOTICE.md' and 'META-INF/LICENSE.md' in your app/build.gradle

For more information, see https://issuetracker.google.com/issues/172544275

Setup

Requires react-native >= 0.61

  • yarn add thu-info-mailcore
  • cd ios && pod install && cd .. (iOS only)

Usage

  • loginImap

  • loginSmtp

  • createFolder

  • renameFolder

  • deleteFolder

  • getFolders

  • moveEmail

  • permanentDeleteEmail

  • getMails

  • getMailsByRange

  • getMail

  • sendMail

  • statusFolder

  • getAttachment

  • getAttachmentInline

  • actionFlagMessage

  • actionLabelMessage

For most of the methods you must first use loginImap. For sendMail method you must first use loginSmtp. For the use of attachments download remember to give permission to the application.

import MailCore from "thu-info-mailcore";

See index.d.ts for full definition of these API functions.

About

react native bindings for https://github.com/MailCore/mailcore2, based on react-native-mailcore, customized for thu info

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 65.4%
  • Kotlin 33.3%
  • Ruby 1.2%
  • JavaScript 0.1%