• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][5.0+] FairEmail - Fully featured, open source, privacy oriented email app

Search This thread

heinhuiz

Senior Member
Nov 26, 2011
906
463
Xiaomi Mi A1
Redmi K20 / Xiaomi Mi 9T
@M66B Marcel, when I press the dustbin icon in the unified spam folder, it generates a purge command for all junk folders - even if I don't have a (suitable) Internet connection at that time. That means that as soon as FE comes online again, all junk folders are emptied, even though I might not have been able to see their actual contents again. Shouldn't there be a warning that mail can get lost that way, or maybe should the dustbin button be disabled when there is no active connection?
 

M66B

Recognized Developer
Aug 1, 2010
24,856
51,662
@M66B Marcel, when I press the dustbin icon in the unified spam folder, it generates a purge command for all junk folders - even if I don't have a (suitable) Internet connection at that time. That means that as soon as FE comes online again, all junk folders are emptied, even though I might not have been able to see their actual contents again. Shouldn't there be a warning that mail can get lost that way, or maybe should the dustbin button be disabled when there is no active connection?
IMHO there is a pretty clear warning you need to confirm.
 

lordearl

Member
Oct 26, 2020
26
5
The list with share targets is compiled by Android based on the capabilities listed in the app manifest. In other words, you'll need to contact the author of the app for this.
I'm not entirely convinced - sometimes TASKS shows in the share list, and other times it does not. I've just tested it on half a dozen different emails and it only appears sporadically, does anyone else have this issue?
 

M66B

Recognized Developer
Aug 1, 2010
24,856
51,662
I'm not entirely convinced - sometimes TASKS shows in the share list, and other times it does not. I've just tested it on half a dozen different emails and it only appears sporadically, does anyone else have this issue?
Android builds the list with share targets. Apps only share content with a type and do not have control over the provided list.

Note that recent Android versions use an "AI" for this for the better or the worse.
 

lordearl

Member
Oct 26, 2020
26
5
Just attaching some examples here, the list of apps that can be shared is different from email to email. As attached in the first image, TASKS is the default but doesn't even appear as an option in the second image.
 

Attachments

  • Screenshot_20210922-233849226.jpg
    Screenshot_20210922-233849226.jpg
    207.4 KB · Views: 16
  • Screenshot_20210922-233710778.jpg
    Screenshot_20210922-233710778.jpg
    193 KB · Views: 15

jmh2002

Senior Member
Jun 1, 2016
130
69
NZL, POL, UKR
Android builds the list with share targets. Apps only share content with a type and do not have control over the provided list.

Note that recent Android versions use an "AI" for this for the better or the worse.

Yes, drives me nuts sometimes...

A solution for other users discussing this topic might be to use a 3rd party share sheet?
If I remember correctly some of those have the option to set favourites / sticky particular apps in the share sheet.

Maybe it can be helpful.

(check the privacy issues with such 3rd party apps if that is a concern)
 

lordearl

Member
Oct 26, 2020
26
5
I'm using Tasks.org app - NOT Open Tasks and I see it in the 'share' options. Maybe try with that?
Confirm I've tried with both of the Tasks apps and the issue is replicated, in some cases it's in the share list and in other cases it isn't. There must be some cause (ie. Certain senders, or if marked unread before trying to share, but I can't seem to work out the pattern yet). I've never seen a problem like this from within a single app, which makes me think it must be related to FairEmail rather than any of the other apps (as per my earlier screenshots the list of apps to share with is sometimes far longer)
 

M66B

Recognized Developer
Aug 1, 2010
24,856
51,662
Confirm I've tried with both of the Tasks apps and the issue is replicated, in some cases it's in the share list and in other cases it isn't. There must be some cause (ie. Certain senders, or if marked unread before trying to share, but I can't seem to work out the pattern yet). I've never seen a problem like this from within a single app, which makes me think it must be related to FairEmail rather than any of the other apps (as per my earlier screenshots the list of apps to share with is sometimes far longer)
The app will share the content always in the same way:


Edit: there is a small difference when sharing multiple files (attachments).
 

lordearl

Member
Oct 26, 2020
26
5
The app will share the content always in the same way:


Edit: there is a small difference when sharing multiple files (attachments).
I've just given evidence that this is not true - as we are typing this I am cycling between emails and sometimes it shares through a large list of apps options and other times a much shorter list. It seems to be whether the email was received today (longer list) or yesterday (shorter list). Can anyone else test the share button to see if the list of apps options is inconsistent?

I've sent a few emails to myself to test and the share options always include the Tasks (+ other more comprehensive options) if I tap share on those, but with older emails the option simply isn't there.
 

M66B

Recognized Developer
Aug 1, 2010
24,856
51,662
I've just given evidence that this is not true - as we are typing this I am cycling between emails and sometimes it shares through a large list of apps options and other times a much shorter list. It seems to be whether the email was received today (longer list) or yesterday (shorter list). Can anyone else test the share button to see if the list of apps options is inconsistent?

I've sent a few emails to myself to test and the share options always include the Tasks (+ other more comprehensive options) if I tap share on those, but with older emails the option simply isn't there.
You can check the source code yourself. There is nothing about the age of the message, etc.
 

lordearl

Member
Oct 26, 2020
26
5
You can check the source code yourself. There is nothing about the age of the message, etc.
I'm not doubting your code, it's probably perfect but I bet it's some sort of android issue. I just did a survey of 20 emails, 4 of them went with the preferred sharing choice of auto sharing to Tasks, the other 16 just opened the shorter list of app options which didn't include Tasks (or quite a few other apps).
 

M66B

Recognized Developer
Aug 1, 2010
24,856
51,662
I'm not doubting your code, it's probably perfect but I bet it's some sort of android issue. I just did a survey of 20 emails, 4 of them went with the preferred sharing choice of auto sharing to Tasks, the other 16 just opened the shorter list of app options which didn't include Tasks (or quite a few other apps).
I will add some extra logging tomorrow, so we can check what is being shared exactly. Please use 'Report issue' in the navigation menu to contact me for a test version. Please reference this discussion and include your XDA username.
 
  • Like
Reactions: lordearl

Top Liked Posts

  • 7
    After contacting Marcel, he sent me a test version, where the issue is fixed. I tested it and the wrong message doesn't appear anymore. The fix will be included in the next release. Thanks Marcel!
    The issue was that the signature is embedded in the encrypted message. For example old Outlook versions use this method, but the standard nowadays is to sign and encrypt in one go. The change is to check if there is a signature in the decrypted message and to suppress the notice in this case:

    4
    @cklassen how about using the accent color for the buttons at the end of the fields?

    This won't change much for existing users (too many people hate change), but still improve things.

    If you wish you can contact me for a test version with this to see how it looks like.
    4
    Hello @M66B , when I recieve an encrypted mail and decrypt it with FairEmail, I get the message, that the mail isn't signed (see the attached screenshot). But when the mail is decrypted there is an icon left of the lock icon and when I tap on it, a message appears that the signature is valid. So the first message seems to be incorrect. I used version 1.1782.
    After contacting Marcel, he sent me a test version, where the issue is fixed. I tested it and the wrong message doesn't appear anymore. The fix will be included in the next release. Thanks Marcel!
    4
    Is it possible to hide these buttons at the bottom of an email?
    View attachment 5471577
    I never use them but find myself accidentally clicking them frequently.
    You can disable these button again in the behavior settings.
    2
    @M66B , in the composing window there are three icons (see attached screenshot). Two of them are tap-able, one doesn't have a function. I would recommend to remove that one (red on the screenshot), because like it is now, it is not consistent. Although they have the same style, they don't have the same function. Additionally, when you remove it, there is one element less in the window and every UI element that isn't there means less mental work for users.
    Although I prefer minimalism, the icon is a hint about what the input field is about. The CC and BCC fields have a different icon. There is a hint text too, so I will give this some thought anyway.
  • 15
    Version 1.1770 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases
    15
    Downloading the internet still isn't finished and will take a little longer because I just uploaded version 1.1779 to GitHub and the Play store (test program).

    Changelog/download:
    https://github.com/M66B/FairEmail/releases
    15
    Version 1.1775 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    There is another solution for showing the text / padding size in the overflow menu. Please let me know what you think about it.
    14
    Version 1.1773 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    This version was released to fix the message composer not opening because the OpenKeychain app isn't responding.
    14
    Version 1.1774 is available on GitHub now and in the Play store test program after Google's approval.

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    This is a release candidate for the next public Play store version (once a month only now to prevent 1 star reviews for "too many updates").
  • 211
    ic_launcher.png

    FairEmail
    Open source, privacy friendly email app for Android

    banner7_long.png


    See here for a description:
    https://github.com/M66B/open-source-email/

    Downloads:
    https://github.com/M66B/open-source-email#user-content-downloads

    See this XDA article for some screenshots:
    https://www.xda-developers.com/fairemail-open-source-privacy-friendly-email/

    See here for more screenshots:
    https://email.faircode.eu/#screenshots

    Frequently asked questions:
    https://github.com/M66B/open-source-email/blob/master/FAQ.md

    This XDA thread is about using the latest version of FairEmail.

    For support on authorizing an account you should consult the documentation of your provider, see also here.

    Off topic comments are allowed as long they are related to FairEmail and are in the general interest of the followers of this thread.

    Discussion of purchases is not allowed here, please contact me via here instead.


    XDA:DevDB Information
    FairEmail, App for all devices (see above for details)

    Contributors
    M66B
    Source Code: https://github.com/M66B/open-source-email/


    Version Information
    Status:
    Stable

    Created 2018-08-02
    Last Updated 2020-11-18
    42
    It is time for a new, modern, open source, privacy friendly email client for Android.

    I have just released a first alpha version for feedback on the design and features.

    Not for production use yet!

    Most of the stuff basically works, but be prepared for crashes and error notifications.


    Safe email is a working name, but it is for several reasons not a convenient name, so suggestions for a name are welcome.
    37
    I have just released alpha version 0.15

    Changelog/download:
    https://github.com/M66B/open-source-email/releases

    With a bit of luck the next version can be a beta version.

    I am putting a lot of effort into this project, so thanks are appreciated.
    37
    I have just released alpha version 0.10

    Changelog/download:
    https://github.com/M66B/open-source-email/releases

    I have put many hours into developing and debugging this release, so thanks are appreciated.

    This version is still not suitable for production, but all basic functions are present now. The goal is now to stabilize this version into a first beta release, so please let me hear what problems you have.

    Edit: due to database changes you'll need to setup your accounts/identities again.
    33
    I have just released beta version 1.745

    Changelog/download:
    https://github.com/M66B/FairEmail/releases

    The changelog might seem uninteresting, but in fact displaying messages has been rewritten to introduce inline displaying of original messages. I spent about two days developing and testing this, so at least a "thanks" will be appreciated.

    Some background: normally the web view cannot be used in a scrolling list (of messages in a conversation) and although there exist several workarounds for this, none were satisfactory. However, I had a completely novel idea (as far as I know) about how to approach this without the usual edge cases (hopefully) !

    To do: investigate if using a dark background is feasible (setting the background dark is simple, but the challenge is to modify the message so that everything is still readable). I will consider to add an option to always display original messages.

    Please report any problem you discover, so it can be fixed.