yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tiktok1:
Does not complete syncing in gmail.

No toast errors.

Get folder errors, see image.

Would be good when scrolling email to allow the header to scroll up too giving more space to read. Some of my emails the header takes up half the screen.

thanks
[Android Apps and Games] glops:
1+

---------- Post added at 02:54 PM ---------- Previous post was at 02:17 PM ----------

why attachments are renamed and stored without the extensions (.pdf, .jpg, .png ...)

in: data / data / eu.faircode.email/ files / attachments

normally the attachments must be upload (without the renamed) directly to the internal memory or SD card
[Android Apps and Games] Primokorn:
All my attachments are not available in this folder. I guess Marcel already knows this and things will be improved ASAP.

Either the user chooses where files have to be downloaded or the app uses a common shared folder such as /sdcard/Download.
[Android Apps and Games] M66B:
Thanks for the feedback!
[Android Apps and Games] M66B:
I have just released alpha version 0.14

Changelog/download:

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

Managing the connection to the IMAP server has been rewritten to fix connectivity problems. All reported bug should be fixed, if not, please let me know, which applies to all other problems you encounter as well.

I have added "distraction free" reading and writing, which means you can read or write a message text using most of the available screen space. Having only little space available when the keyboard is shown has always annoyed me in other (open source) email apps.
[Android Apps and Games] Kelvino9:
Please keep the the top right.Folder button.

It is much more convenient for one handed usage on large phones.

It also requires one less aimed touch input when juggling with more then one accounts.

Move to trash and mark as un-read are also my main actions for multiple select.

Can the Unfied Inbox please also show subfolders of the inbox?

I pre sort my incoming mails into several topics like Private, Work, Newsletter, Social, Forum, Shopping.

Once I read them I archive them in more distinctive folders outside of my Inbox that I don't syncronize in FairEmail.

As of now I have to separately synchronize each inbox subfolder to manually check for new incoming mails in those folders.

As an Aqua Mail and K9 Mail user I really miss the worklflow of not having a real unified inbox in FairEmail.
[Android Apps and Games] M66B:
Writing software is like writing a book. Some things stay, some things go. It is a kind of an adventure. Sometimes it is even dangerous ;)

As always, I am open for suggestions.
[Android Apps and Games] ouzowtf:
I waited for three minutes, but don't see a message and the file size is still 0 b.
[Android Apps and Games] heinhuiz:
I'd think, either password protect the export file or encrypt it. And if that is not possible, don't export the passwords.

You can make life easier for the user by copying the password from the incoming server of the linked account to the outgoing server of the identity as default. For most cases that would be correct. That can be done both at initial setup (I think we discussed that earlier) and when restoring an identity after importing settings.
[Android Apps and Games] M66B:
Still send me the debug info, but don't wait too long after reproducing (two minutes or so is okay).
[Android Apps and Games] willy_666:
I have some questions:

1. When reading an email, there is this bar showing the options like delete, archive etc. Is it intended, that this bar is moving upwards and out of the screen while reading and scrolling down, such that after reading one has to scroll back up to the top to either delet or archive the message?

2. Wouldn't it be more logical, to have the signatures with the identities instead of the accounts? I mean one has a private email and an online presence email address on the same account, but with different email addresses. With the first, one would like to share the real address phone etc. in the signature, with the latter more some online nick names.

3. Could it be possible to have an option, what to do after deleting/archiveing an email, like: show next/previous/unread... instead of go back to folder?

I know, you said: no more features will be added. But as you said, you like to have it secure and privacy friendly, I'm maybe overseing an issue, while wishing for above features.

Thanks for reading and your comments.
[Android Apps and Games] tiktok1:
also have the same issue expoting to local folder. logs sent

thank you
[Android Apps and Games] M66B:
There can be multiple messages in a conversation thread, so there need to be multiple menu bars.

Having a signature per identity means setting up a signature per identity. It is not difficult to change, but I am not sure if it would be a good change.

After deleting/archiving there might be more messages to read in the same conversation thread. In this case the conversation thread stays open, else it will be closed. Maybe it is an idea to keep it always open, but that would be inconvenient if you are done.
[Android Apps and Games] willy_666:
Thanks for the quick reply.

The previous/next bar is always visible. So it could be that the menubar on top will also stay visible (floating)

:) understand, still not thinking enough in conversations.
[Android Apps and Games] M66B:
The question is visible for which message?
[Android Apps and Games] willy_666:
Sometimes it takes longer... I got your point now!

Could be a solution, that there is always only one message expanded, and the bar works for that message or for the whole conversation when all messages are collapsed. (Sorry. Its my daily job to do questions, cannot stopp it).
[Android Apps and Games] M66B:
[MENTION=1862876]tiktok1[/MENTION] [MENTION=2932933]ouzowtf[/MENTION] or whomever sent me log files about not exporting: I don't see an export file being selected. After you start an export you should get an Android dialog to select where the export file should be stored. I don't see Android reporting back to FairEmail where the file should be stored.

So, did you got a file select dialog? Did you select a file and confirmed it?
[Android Apps and Games] M66B:
There is a big condition here: being able to expand one message at a time only. I don't think this is a good idea.
[Android Apps and Games] tmotard:
notifications per account

Hello,

I think that an interesting development could be to provide for the account-based notification function and not just globally. Thus, it would be possible not to be notified of the receipt of messages for smaller accounts.

I really appreciate this application.

thank you very much.
[Android Apps and Games] M66B:
While developing the new message notifications I have considered this, but a lot of people hate too many notifications. So, I like to keep it as it is, which is one parent summary notification and for each message a child notification. This will result in one icon in the status bar only.

You can differentiate accounts by using account colors, which are visible in the child notifications (how depends on your Android version/variant).
[Android Apps and Games] tmotard:
Yes, I understand.

However, I think that simply allowing each account to notify or not would allow even less notification.

The idea is not to change the notification mechanism but only to allow not to have a notification for some accounts:)
[Android Apps and Games] Danmann:
I have the same export problem. It seems to be it was already at the previous version as well. I made a export with the same result with the previous version.

I checked the log file but I couldn't see any problems.

I can choose where to save it and to change the file name. But I don't see a "done" message.
[Android Apps and Games] M66B:
First of all, I export and import quite often during development, so this is pretty well tested.

The log files I received have no logging about Android telling where to store the file. This could be due to waiting to long until sending the log file, so, please try to export again, select the target file and send me the debug info soon after this. Please include the time you selected the file.
[Android Apps and Games] M66B:
There is now a list of planned features:

https://github.com/M66B/open-source-email/blob/master/FAQ.md#planned-features
[Android Apps and Games] ouzowtf:
I sent you a mail (s*****s@mailbox.org). A file (default name) and it's location (download folder) was selected via standard Android "files" app.

I waited for like 30-40 seconds before I chose to long tap the support menu option.
[Android Apps and Games] m0d:
What does this mean:

Fixed action bar conversations

Just hope it is not always on top taking screen space.

Keep conversations open

Is this after trashing or moving a message?

Password protected export file is a great addition.
[Android Apps and Games] M66B:
I have already checked your log file, see earlier, and I don't see Android telling where to store the export file.
[Android Apps and Games] M66B:
The action bar would be at the bottom.

I might add a setting to disable auto closing of conversations.
[Android Apps and Games] tiktok1:
yes, i was prompted to save the file and confirmed. The file was saved and is 0b in size
[Android Apps and Games] M66B:
Please send me the debug info again soon after another try. Please include the time of the try.
[Android Apps and Games] m0d:
Is that replacing next | previous button bar?

I just hope it is not something that takes space from the message, as that is the most important part of message view.

Has there been that much complaints about it to warrant a fix?

I guess it is impossible to make everyone happy.

Not sure if you are referring to exiting conversation after applying action, or something else.

But, I would think thread conversation should remain open if there is more messages in thread.

Also, it would match your other planned 'feature', Keep conversations open, if no more messages move to previous or next or back to folder? That would be another setting?

Settings seem to keep popping up with development moving forward and around, more like a wheel cycle, away and back again to the beginning.

Good luck
[Android Apps and Games] M66B:
Like I said before, writing software is like writing a book.
[Android Apps and Games] M66B:
About selecting the export file, I found this in one of the sent log files:

11-14 14:33:02.909 5821 5821 I fairemail: Request=3 result=0 data=null

Request 3: REQUEST_EXPORT

Result 0: RESULT_CANCELED

Data null: no file selected

So, it seems the request to select a file was cancelled by either yourself or by Android. In any case FairEmail is not really involved in this.

Assuming you didn't cancel the file selection, maybe there are components missing on your Android version or there might simply be a bug in your Android version.
[Android Apps and Games] M66B:
I have just released

beta

version 1.155

Changelog/download:

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

Folders have now a settings for the number of days to keep messages. This means you can keep older messages around longer, without synchronizing them. Since synchronizing uses data and battery power, you can use this to save on both. You could initially synchronize the messages for a longer period and after that set the number of days to synchronize to just three.

IF YOU UPDATE FROM VERSION 1.152 OR EARLIER, YOU'LL NEED TO SETUP YOUR ACCOUNTS AGAIN !!!

Edit: if you get on first run this:

This seems to be a bug in Android ROOM, maybe caused by incompatibility with the latest sqlite version.
[Android Apps and Games] beeshyams:
Thanks

Color selection is not restored on import
[Android Apps and Games] M66B:
Colors of accounts or identities?

Edit: are you sure you exported after you have set colors (especially identity colors) ?
[Android Apps and Games] beeshyams:
Should have been explicit

Accounts

Not using identity colors

---------- Post added at 03:52 PM ---------- Previous post was at 03:51 PM ----------

Yes. Made sure they were saved. Been using for long
[Android Apps and Games] M66B:
Please send me the export file for a check.

Edit: account colors are imported:

https://github.com/M66B/open-source...ava/eu/faircode/email/EntityAccount.java#L101
[Android Apps and Games] HerrT:
This seems to be my log... I'm using the latest official Andoid Pie for OnePlus 6.

So I will have to set-up my Email accounts from scratch after you release the new version in Play Store (which is okay as I have only 2 accounts).

Thanks for looking at it
[Android Apps and Games] BreckZeBoulay:
[MENTION=2799345]M66B[/MENTION]

A few minutes ago, I sent you the crash log with the screenshot.

I can't reproduce this error.

Another thing I noticed. Just after sending you this email, when I tapped on it to open it, I went back directly to unified box.

I had to made a wipe of local messages (in the sent folder), sync the sent folder and at this time I could read the email.

(Like the database was corrupt ?)
[Android Apps and Games] beeshyams:
Don't know why it wasn't imported

Mailed you as requested

Thanks
[Android Apps and Games] M66B:
I have checked your export file and it seems okay to me.

I have also checked export and import on my own device and account colors are being exported and imported as expected, so I have no explanation for this problem.
[Android Apps and Games] beeshyams:
No problem.

Likely a glitch at my end

Thanks for your fast response and keep up the good work!
[Android Apps and Games] M66B:
I have just released version 1.155 in the Play store too.

It may take Google a few hours to check and approve this release.

Edit: this applies to the Play store version too:

IF YOU UPDATE FROM VERSION 1.152 OR EARLIER, YOU'LL NEED TO SETUP YOUR ACCOUNTS AGAIN !!!
[Android Apps and Games] LazyT:
Not sure, but should an encrypted message automatically decrypted when selecting the message and the privacy setting is disabled?

When implementing a master password to encrypt exported settings in the future maybe the passwords in the mail database should also be encrypted? I know root is required to get hands on the database, but storing passwords in plaintext is never a good idea... ;)
[Android Apps and Games] M66B:
FairEmail does not decrypt messages automatically, see also the FAQ.

Which privacy setting do you mean?

Passwords are stored in a safe, inaccessibly place and need to be available in plain text because providers expect passwords in plain text. Encrypting the database requires storing a secret for the background service, but where should that go? Chicken and egg! Android encrypts all data by default on recent Android versions, so there is no need for this anyway.
[Android Apps and Games] LazyT:
"Aktionen bestätigen, die datenschutzrelevante Informationen preisgeben können"

I know it's in the FAQ, but isn't this like show original message, images, select app to open attachment and so on?
[Android Apps and Games] M66B:
Encrypted messages can be considered extra sensitive, so IMHO they shouldn't be decrypted automatically. Moreover, OpenKeychain often needs user interaction, which is another reason to keep it manually.
[Android Apps and Games] Danmann:
I have the same problem on nougat with the Samsung note 4. Aicp Rom.

Do you already installed it from scratch?
[Android Apps and Games] M66B:
I have just released

beta

version 1.156

Changelog/download:

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

This version adds encrypted export/import.

You cannot import files exported with a version before this version, so make sure you export a new file.

IF YOU UPDATE FROM VERSION 1.152 OR EARLIER, YOU'LL NEED TO SETUP YOUR ACCOUNTS AGAIN !!!
[Android Apps and Games] heinhuiz:
Yes!

It works, but for restoring the settings it should not be necessary to type the password twice. If it's wrong, it's wrong.
[Android Apps and Games] M66B:
I prefer to type the password twice, instead of discovering later that the password was wrong.
[Android Apps and Games] M66B:
I have just added this FAQ:

How are settings files encrypted?
[Android Apps and Games] M66B:
For the people who had problems with exporting: there will be a 'canceled' message now if you or Android cancels the file selection.
[Android Apps and Games] heinhuiz:
Is it normal that when restoring settings accounts get added (so when they already existed, they are doubled), but identities are overwritten?
[Android Apps and Games] M66B:
Both account and identities are added, not overwritten.

There is also a message about this in the password dialog.
[Android Apps and Games] heinhuiz:
Note: Maybe you should add the fact that passwords are saved again to the change log.
[Android Apps and Games] M66B:
I think that is superfluous, since encryption was added specific for this goal.
[Android Apps and Games] heinhuiz:
I backed up and restored immediately, and at first ended up with accounts doubled but just single identities. Just tried it again, and now identities are doubled too. Weird...

Edit: I am mistaking. The doubled identities got removed when I deleted the corresponding account.
[Android Apps and Games] M66B:
Yes, deletes 'cascade', so deleting an account will also delete the associated folders, messages and identities.
[Android Apps and Games] tbv2005:
Hi, have setup 2 identities for one Emal account and added in both a different signature(both with 2 empty lines plus 2 lines of signature). When composing an email and changing from default identity to the other one, only the last line of the "old" signature is deleted, the first line stays below the "new" signature. When changing identity back same thing happens. Is it possible to replace completely? Thanks in advanced!
[Android Apps and Games] M66B:
Did you already discover that you can long press accounts in the navigation drawer to directly go to the inbox of an account?
[Android Apps and Games] M66B:
This is a bug and I will see if I can fix it.
[Android Apps and Games] Danmann:
Do you have any idea what the problem might be?
[Android Apps and Games] ouzowtf:
I see this message now when I tap 'save' in the 'files' app.

//edit: it works when the 'files' app is set as default app for this action, but not when choosing the app via 'just once' :eek:
[Android Apps and Games] Danmann:
You're right, nice!:good:

I attached two logs. "Default" and "just once". Might be helpful if it's an app problem.
[Android Apps and Games] TheMadRuffian:
I'm getting the following error when choosing FairEmail from the long press menu though I have configured a primary identity
[Android Apps and Games] tiktok1:
That is great news !
[Android Apps and Games] atm1991:
Awesome app, love the rapid updates and have been a pro customer since early on. Issue as follows, version 1.156:

When composing a new email and switching from the default/primary account to my secondary account as the sender, rather than replace the signature of the default account, the signature of the secondary account is appended beneath the signature of the primary account. Then each time that you subsequently switch the sender account it appends another signature each time you switch.
[Android Apps and Games] tiktok1:
On trying again I realise I am getting a 'cancelled' message briefly popping up at the bottom of the the app.

Is this a permissioning issue?
[Android Apps and Games] M66B:
This is not related to FairEmail.
[Android Apps and Games] M66B:
I think the message is pretty clear: you have not set an account to be the primary account and/or you have not selected an archive folder for the primary account.

This is needed so FairEmail knows where to search the text you've selected.
[Android Apps and Games] M66B:
This was already reported and I will look into it.
[Android Apps and Games] M66B:
Please see a few comments back.

Edit: tl;dr; this seems to happen when you use 'just once'.
[Android Apps and Games] TheMadRuffian:
Primary account has been configured already. But I haven't configured an achieve folder.
[Android Apps and Games] HerrT:
Yes, but still not working (which was actually expected, but I had to start from scratch because the internal DB changed...)

Edit: I just saw that it might be related to "just once"...
[Android Apps and Games] M66B:
I have just released

beta

version 1.157

Changelog/download:

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

The version will be available in the Play store after Google's approval.

Switching identities should correctly switch signatures now.

Thanks, purchases and donations are appreciated.
[Android Apps and Games] feanaro_:
I'm unable to send email using FairEmail because my server rejects them with this error:

javax.mail.SendFailedException: Invalid Addresses; nested exception is com.sun.mail.smtp.SMTPAddressFailedException:

504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname

It seems FairEmail isn't sending a fully-qualified hostname for the server? I've tried entering the hostname fully-qualified (with an ending period) in the account settings, but that triggers another error:

Could not convert socket to TLS
Can't verify identity of server: <server name, ending with period>
[Android Apps and Games] M66B:
Please make sure your email address and user name are correctly configured in the identity.
[Android Apps and Games] M66B:
I have just added this FAQ:

Why can't I select a (settings) file?
[Android Apps and Games] feanaro_:
I have double checked my email address, username and other settings (hostname, port, STARTTLS) and they are all set up correctly. I also use the same credentials for IMAP and they work for receiving email. I have also been trying this for some time since I've refrained from raising the issue while the client was in alpha.

It seems the problem is indeed that FairEmail is sending "localhost" as the hostname of the client (I see I erroneously said *server* in my previous message; that was a typo). This isn't a FQDN nor an address literal (such as [1.2.3.4]) as specified by RFC2821 4.1.1.1 so my server appears to reject it. Manual testing using openssl s_client confirms that the server rejects "localhost" in EHLO, but accepts an "EHLO [<my IP>]" command.

The relevant RFC section:
[Android Apps and Games] heinhuiz:
Just a wild idea: could the function or subroutine that you made to force selecting an app to open attachments help in those cases, thus saving users from selecting a default app?
[Android Apps and Games] M66B:
I will see if I can fix this.

Edit:

https://stackoverflow.com/questions...s-due-to-helo-ehlo-argument-localhost-invalid
[Android Apps and Games] M66B:
This is not possible.
[Android Apps and Games] vewa52:
Getting this error message everytime I try to set up identities for my Gmail account . "Couldn't connect to host; port: smtp.gmail.com, 465......." Any help in this regard?
[Android Apps and Games] M66B:
Please make sure the host name and port number are correct and that there is no firewall blocking the connection.
[Android Apps and Games] glops:
Thanks for adding a long press on configuration to view the log :good:
[Android Apps and Games] vewa52:
Got it working. Thanks.
[Android Apps and Games] tbv2005:
Confirmed. Thanks for the quick fix!

---------- Post added at 06:45 PM ---------- Previous post was at 06:44 PM ----------

Confirmed. Thanks for the quick fix!
[Android Apps and Games] ouzowtf:
Regarding the settings export issue:

I just saved the settings of your other app Netguard successfully with the files app with the 'just once' option.

Maybe this information helps to find the reason for that behavior.
[Android Apps and Games] M66B:
[MENTION=9561749]feanaro_[/MENTION] there is no reliable way to get the IP address on Android, so I cannot fix this without risking to break things for others. localhost is a valid FQDN, so that is not the problem. You'll need to fix/workaround this on your email server.