Building the Right Environment to Support AI, Machine Learning and Deep Learning
Environment: Visual C++
This program is very useful when you want to send a message with an attachment if you use Outlook Express like your default program for sending or receiving messages. It is also useful in case of sending your documents from database, because it writes your attachment and puts it in a message.
This function is similar to the function CDocument::OnFileSendMail(), except that using my function you may also put a subject and a note text in a message. In general, you can fill the MapiMessage structure as you like.
MapiMessage message; memset(&message, 0, sizeof(message)); message.nFileCount = 1; message.lpFiles = &fileDesc; message.lpszSubject="Test"; message.lpszNoteText= "This program send message with *.txt attachment";