How to back up messages

pull/212/head
M66B 2 years ago
parent d80f0adbad
commit 52d8b0b402

@ -4345,20 +4345,20 @@ Unfortunately, there exists no intent to delete existing calendar events.
🌎 [Google Translate](https://translate.google.com/translate?sl=en&u=https://github.com/M66B/FairEmail/blob/master/FAQ.md%23user-content-faq151)
An email client is meant to read and write messages, not to backup and restore messages.
Note that breaking or losing your device, means losing your messages!
An email client is meant to read and write messages, not to back up and restore messages.
In other words, an email client is a viewer for messages on an email server, and not a backup tool.
Instead, the email provider/server is responsible for backups.
If you want to make a backup yourself, you could use a tool like [imapsync](https://imapsync.lamiral.info/).
Since version 1.1556 it is possible to export all messages of a POP3 folder in mbox format according to [RFC4155](https://www.ietf.org/rfc/rfc4155.txt),
which might be useful to save sent messages if the email server doesn't.
which might be useful to save sent messages if the email server doesn't (which is risky because breaking or losing your device, means losing your sent messages!).
For this, please long press on the folder in the folder list of an account (tap on the account name in the navigation menu).
If you want to import an mbox file to an existing email account,
you can use Thunderbird on a desktop computer and the [ImportExportTools](https://addons.thunderbird.net/nl/thunderbird/addon/importexporttools/) add-on.
Note that in case of IMAP all messages on your device are also on the email server.
Note that in case of IMAP, all messages on your device are also on the email server.
<br />

@ -113,6 +113,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
private Button btnExport;
private TextView tvExportPro;
private Button btnImport;
private TextView tvBackupMessages;
private CardView cardCloud;
private ImageButton ibCloudInfo;
private TextView tvCloudPro;
@ -157,6 +158,7 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
btnExport = view.findViewById(R.id.btnExport);
tvExportPro = view.findViewById(R.id.tvExportPro);
btnImport = view.findViewById(R.id.btnImport);
tvBackupMessages = view.findViewById(R.id.tvBackupMessages);
cardCloud = view.findViewById(R.id.cardCloud);
ibCloudInfo = view.findViewById(R.id.ibCloudInfo);
tvCloudPro = view.findViewById(R.id.tvCloudPro);
@ -207,6 +209,14 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
}
});
tvBackupMessages.getPaint().setUnderlineText(true);
tvBackupMessages.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(v.getContext(), 151);
}
});
btnLogin.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

@ -146,6 +146,20 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnImport" />
<TextView
android:id="@+id/tvBackupMessages"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:drawableEnd="@drawable/twotone_open_in_new_12"
android:drawablePadding="6dp"
android:text="@string/title_setup_backup"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorLink"
app:drawableTint="?android:attr/textColorLink"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvScroll" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>

@ -298,6 +298,7 @@
</string>
<string name="title_setup_export_do">The export file will contain all settings and data, but no messages and no images referenced in signatures</string>
<string name="title_setup_scroll">The input dialogs may be scrollable!</string>
<string name="title_setup_backup">How to back up messages?</string>
<string name="title_setup_password">Password</string>
<string name="title_setup_password_chars">Password contains control or whitespace characters</string>
<string name="title_setup_password_repeat">Repeat password</string>

Loading…
Cancel
Save