In order to use the two-factor authentication, the latest version of the GMX Mail App is necessary. You can check the version of your GMX Mail App by following these steps:
To view the Mail App version, tap the menu-icon in the menu bar.
Tap Info.
The GMX Mail App version you are using
is displayed under Version.