I am using c++ for my PhD project and I let it run on a unix server, which takes up to several days. Until now, I always have to check weather it is finished or not by login and check the output file.
Is it possible to let the code send me an email once it is done/at the end of the programe?
In MATLAB this is possible with the following line at the end of your code:
!pwd | mail -s finished NAME@GMAIL.COM
Does something like this exist in c++? I could not find anything useful in one of the existing threads about sending emails.