ladybird/Userland/Applications/Mail/CMakeLists.txt
Luke b716e902ba Mail: Add an e-mail application called Mail
This utilises LibIMAP and LibWeb to provide an e-mail client.

The only way currently to connect to a server and login is with a
config file. This config file should be stored in ~/.config/Mail.ini
Here is an example config file:
```
[Connection]
Server=email.example.com
Port=993
TLS=true

[User]
Username=test@example.com
Password=Example!1
```

Since this is stored in plaintext and uses a less secure login method,
I'd recommend not using this on your main accounts :^)

This has been tested on Gmail and Outlook. For Gmail, you either have
to generate an app password if you have 2FA enabled, or enable access
from less secure apps in your account settings.
2021-07-24 20:11:28 +04:30

20 lines
368 B
CMake

serenity_component(
Mail
RECOMMENDED
TARGETS Mail
)
compile_gml(MailWindow.gml MailWindowGML.h mail_window_gml)
set(SOURCES
AccountHolder.cpp
InboxModel.cpp
MailboxTreeModel.cpp
MailWidget.cpp
MailWindowGML.h
main.cpp
)
serenity_app(Mail ICON app-mail)
target_link_libraries(Mail LibCore LibDesktop LibGfx LibGUI LibIMAP LibWeb)