Giter Site home page Giter Site logo

Create email via url scheme about ios-mail HOT 7 OPEN

protonmail avatar protonmail commented on August 20, 2024 1
Create email via url scheme

from ios-mail.

Comments (7)

afern247 avatar afern247 commented on August 20, 2024 6

This can be closed... There is no need for this, Apple gives the option now to set default email app

from ios-mail.

derekmorr avatar derekmorr commented on August 20, 2024 4

I think these are two separate issues. One is setting the default app, and the other is populating the message fields based on a url.

from ios-mail.

Seoras avatar Seoras commented on August 20, 2024 1

Update: Using the ProtonMail code as a guide and trying various URL configurations I've worked out that the required URL format looks something like this:
URL="protonmail://mailto:[email protected]?subject=SubjectTitleOfEMail&body=MessageBodyFooBar"

from ios-mail.

nemecek-filip avatar nemecek-filip commented on August 20, 2024

+1 one from me. My app allows users to send feedback either with Apple Mail or with Outlook, Gmail or Spark. It would be nice to be able to add ProtonMail to the list :-)

from ios-mail.

timespaced avatar timespaced commented on August 20, 2024

This is a must have feature. Please add it to the app.

from ios-mail.

yeradis avatar yeradis commented on August 20, 2024

Would be nice to have this feature...
maybe someone can check the existing PR opened since 2019 that add this feature #16

from ios-mail.

Seoras avatar Seoras commented on August 20, 2024

Has this been implemented but this issue not marked as resolved?
I've just had a look in the code.
The App's info.plist has the required CFBundleURLSchemes for protonmail and mailto.
AppDelete.swift has implemented func application(_ application: UIApplication, handleOpen url: URL) and handled those two on line 277.
This makes me think the code is there...?
Installed the app and tested. Yes it does work. Just need to work out the url parameters now.
Why is this issue still open and not documented?

from ios-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.