-
Hello everyone. My question and current task is kinda simple. All I need to do is to send an email to the network admin from my MFC application that runs 24/7 on the server box. Sometimes, for unknown reason, the server box freezes and the only possible action(if I solve this problem) is to send an "alert" message to the network admins that "box needs to be rebooted ASAP". I know that there are lots of COM components(like ASP mail) out there that facilitate email protocols. As well, there is a number of socket API's and classes. Does anyone know which way is the fastest and easiest for MFC app to send a simple email. Big thanks in advance. Kirill
-
Hello everyone. My question and current task is kinda simple. All I need to do is to send an email to the network admin from my MFC application that runs 24/7 on the server box. Sometimes, for unknown reason, the server box freezes and the only possible action(if I solve this problem) is to send an "alert" message to the network admins that "box needs to be rebooted ASAP". I know that there are lots of COM components(like ASP mail) out there that facilitate email protocols. As well, there is a number of socket API's and classes. Does anyone know which way is the fastest and easiest for MFC app to send a simple email. Big thanks in advance. Kirill
Use ShellExecute with the program set to a mailto link protocol; i.e mailto:admin@company&subject="blah" etc... using &body. Not a very full answer but I've got some VC problems at the moment so can't access documentation. -- Andrew.
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching