MailImporter
MailImporter Library implements importing of emails from various other email clients
Using the Module
Using a KDE module's C++ API requires linking against the module library. The preferred way of consuming the library is through CMake.
Building with CMake
Use the find_package() command to locate the KPim6MailImporter package
find_package(KPim6MailImporter REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::MailImporter)
For more details, see the Build with CMake overview.