Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferred email format forec to "Plain Text" #300

Closed
1 task done
LapinFou opened this issue Apr 8, 2019 · 15 comments
Closed
1 task done

Preferred email format forec to "Plain Text" #300

LapinFou opened this issue Apr 8, 2019 · 15 comments
Assignees
Labels
enhancement New feature or request

Comments

@LapinFou
Copy link

LapinFou commented Apr 8, 2019

Your environment

TbSync version: 1.7
Thunderbird version: 60.6.1 (32 & 64 bits)

CardDAV server is running on a Synology NAS.
Client are: TbSync on one side and an Apple iPhone7 (iOS 12.2) on the other side.
By default, the field "Preferred email format" (not sure of the translation, since I'm using the French version) is always "Plain Text".
I cannot change this parameter with my iPhone.
I can change it to "HTML" with TbSync, but as soon as my iPhone update its contact list, the field reverted back to "plain text".

BR,
Seb

@jobisoft
Copy link
Owner

jobisoft commented Apr 8, 2019

The plain-text setting of Thunderbird is stored in a property called X-MOZILLA-HTML and I do not think your iPhone should be using that. From what you describe, your iPhone is reverting that setting, which I have no control over.

Can you export one of your contacts which shows this reverting and post its raw vCard Data here?

@LapinFou
Copy link
Author

LapinFou commented Apr 9, 2019

Hi John,
I'm very sorry, but I switched to CardBooks. Now, everything seems to be OK.
Thanks for your time.

@LapinFou LapinFou closed this as completed Apr 9, 2019
@GitHub-Lover
Copy link

@jobisoft

See @LapinFou did switch to CardBooks. For this user, this issue described on the beginning is not important anymore. I have this issue also. The point is this:

  • TbSync 2.9 (carddav)
  • Sync with own Baikal Server
  • Then Thunderbird contact field 'Prefers to receive messages formatted as' is 'Plain Text'
  • This field force (so in my case) that mails will be sent as plain text mail, even when they are written in HTML-Format

This would be nice:

  • In TbSync preference (or on dav-account setting): A field where can be choosen, how the Thunderbird contact field 'Prefers to receive messages formatted as' will be set.

Thank you for your effort and invested time in this project.

@jobisoft
Copy link
Owner

Have you used the SOGo Connector before with that server?

@GitHub-Lover
Copy link

GitHub-Lover commented Dec 13, 2019

@jobisoft

Thank you for your reply. I guess, i didnt use SOGo Connector.

To have more clearance on this case I did the following:

  • open my carddav-server with browser
  • navigate to a vcf file and download it
  • open that vcf file with Atom
  • there is the following text in the vcf file: X-MOZILLA-HTML:FALSE

This is the point, why Thunderbird overwrite the general preferences. If I use the CardBook addon then this X-MOZILLA-HTML:FALSE will not over write the general preferences of Thunderbird. This is why @LapinFou have success with CardBook.

It would be great, if there would be a preference in TbSync, where those X-.. 1) information will not have the affect that Thunderbird overwrite the preference if a mail will be sent in Pain/HTML-Format.

  1. I have plenty of those X-.. information in my vcf files:
  • X-EVOLUTION-..
  • X-THUNDERBIRD-
  • X-MOZILLA-..

Thank you.

@jobisoft jobisoft self-assigned this Dec 16, 2019
@jobisoft jobisoft reopened this Dec 16, 2019
@jobisoft
Copy link
Owner

The issue here is, that your vcard contains the data X-MOZILLA-HTML:FALSE which is a clear indicator, that this contact should be contacted via plain text emails.

I can of course add a preference which ignores this field during sync. However, I would like to understand, where this data is coming from.

What is the history of that addressbook/carddav server? How long have you been using TbSync? What did you use before TbSync to access your carddav addressbook in Thunderbird?

@GitHub-Lover
Copy link

Thank you for reopen the issue.

Yes, I guess this is the point X-MOZILLA-HTML:FALSE makes Thunderbird convert sending mail to pain text only.

I guess every user of carddav protocol use a lot of endpoints (like mobile phones, computers with different operating system and so on). Because some of those endpoints / client(-programs) wrote those additional information (X-..) to carddav server the data gets unclean there. (in my case: i dont know which client/program/addon[linux:Evolution, iPad, iPhones, Android with DavX and other clients] did write those X-MOZILLA-HTML:FALSE to my carddav server).

If we have a such preference which ignore all X-.. then TbSync is better for some of us. If others want to use this e.g. X-MOZILLA-HTML:FALSE then they just don't choose this preference in TbSync. A pragmatic way to handle this issue. And you know: people love pragmatic solutions :). I'm not a developer, but I guess is not much work for a such feature in TbSync. Thank you very much.

@jobisoft
Copy link
Owner

To add one more thing to this: I would like to understand the cause of this wrong data. Can you answer the following questions?

  • How long have you been using TbSync?
  • What did you use before TbSync to access your carddav addressbook in Thunderbird?
  • Did/do you use Evolution?

@jobisoft
Copy link
Owner

jobisoft commented Dec 16, 2019

FYI: The value can be changed of course, it is a simple property of your contact:

grafik

This is not a bug in TbSync. I just OBEY that value which is stored in your contacts.

I want to find out, why it is set to the wrong value.

@GitHub-Lover
Copy link

To add one more thing to this: I would like to understand the cause of this wrong data. Can you answer the following questions?

* How long have you been using TbSync?

* What did you use before TbSync to access your carddav addressbook in Thunderbird?

* Did/do you use Evolution?
  • I use TbSync 3 - 4 months
  • Before i did use CardBook for sure. Other addons I am unsure. I run my own carddav-server for about 8 years and use Thunderbird since 2005. Beside Thunderbird addons my carddav-server is used by mobile phones (iOS / Android), Evolution for Linux and Contacts in MacOS.
  • Yes, i did use Evolution and I will do it in future also.

PS: I was surprised by the fact, that other software add so many information with X-.. tag to my carddav server.

@GitHub-Lover
Copy link

FYI: The value can be changed of course, it is a simple property of your contact:

grafik

This is not a bug in TbSync. I just OBEY that value which is stored in your contacts.

I want to find out, why it is set to the wrong value.

Yes, this is known by me (also the possibility to put this on contact level). What we discuss here is not a bug (TbSync developer can say: is not my problem!), it is an important enhancement for TbSync users. As I can see in the forum here, I am not the only one, who have this problem. So it is an pragmatic solution for many users. An this solution makes TbSync better!

Thank you!

@jobisoft
Copy link
Owner

I will add the overide option, promised.

Could you do a test for me?

  • Could you create a contact with evolution and see how that contact shows up in TbSync?
  • What is his message format setting in TbSync/Thunderbird?
  • Can you alter the message format setting of that contact in evolution? Is that change reflected in TbSync/Thunderbird?
  • Can you alter the message format setting of that contact in TbSync/Thunderbird? Is that change reflected in Evolution?

@jobisoft jobisoft added the enhancement New feature or request label Jan 30, 2020
@jobisoft
Copy link
Owner

@GitHub-Lover : Any chance you could do the test with evolution, to see how that impacts the value of X-MOZILLA-HTML ?

@rjanos007
Copy link

I used before SOGo connector. Now I use SOGo server, with TBSync.
I still have this problem. All my contacts are in Plain. Is there any solution to modify a few thousand addresses, to HTML?

@jobisoft jobisoft transferred this issue from jobisoft/TbSync Sep 21, 2022
@jobisoft
Copy link
Owner

I am cleaning up older issues. Since Thunderbird 102, TbSync/DAV is using the native built-in CardDAV and CalDAV sync. TbSync is now only doing the simplified resource discovery, but any found calendar or address book is synced by Thunderbird.

Closing this issue, because it deals with the old TbSync CardDAV sync, which no longer exists. If this issue remains, it is a Thunderbird bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants