We are trying to build new CI system. You will be responsible for implementing new notification component.
Here are the most important attributes that you have to achieve:
- Performance: the component should be able to notify 5 devs in 2 seconds.
- Debuggability: In case of error while sending mails the component should print debug info.
Sending mail to: [email protected] - OK
Sending mail to: [email protected] - OK
Sending mail to: [email protected] - FAIL
Sending mail to: [email protected] - FAIL
Sending mail to: [email protected] - FAIL
Your SW architect decided to use libmail as a framework for mail notifications.
libmail can be found in 3rdparty folder. Use promises and futures to achieve the goal.
The main thread should be the only one which prints anything on the screen.
libmail2.0 was released and SW architect wants you to use it.
libmail2.0 can be found in 3rdparty folder.
Change linking to this library in CMakeLists.txt
SW architect wants you to improve debug info. Error reason should also be printed.