'Sending email from Qt C++ application

My Qt5 application is almost done. Did even an installer using QTIFW. But there might be bugs and I would like to let user complain by e-mail.

I'm thinking to include a log file.

How to add capability to send email on a Qt5 C++ project on Windows, what are the most common approaches to consider?



Solution 1:[1]

If DATE1 were in cell A2, and the "specific time" were in B2 this should work:

=INT(A2)-TODAY()+(B2>MOD(NOW(),1))-(MOD(A2,1)>B2)

It works by just counting how many days it is between the date portions, then adding 1 if the specific time is after the NOW() time, then subtracting 1 if the time portion of DATE1 were after the specific time.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1