Click here to Skip to main content
15,559,732 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:24
mveGreg Utas11-Sep-22 13:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:29
samzcs11-Sep-22 14:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:34
samzcs11-Sep-22 14:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 14:46
mveGreg Utas11-Sep-22 14:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 16:09
Mircea Neacsu11-Sep-22 16:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 1:00
mveRichard MacCutchan12-Sep-22 1:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 5:06
magnomagna23-Sep-22 5:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 22:15
jur20028-Sep-22 22:15 
Hello everybody!

My working environment is: Windows 10, Visual Studio Community 2017 (and 2008 for older projects), programming takes place only in C/C++.

I need my program to be able to send emails with a PDF file attachment. The easiest way to send emails is to use ShellExecute with the parameter "mailto:someone@mail.com ... etc". But this method does not allow you to transfer attachments.

So I tried using MAPISendMail in a variety of variants found on the internet. Including Programmatically adding attachments to emails and many others. Almost all of them work fine on my computer.

However, when I trying to send an email on another computer, it leads to an error in the MAPISendMail function MAPI_E_NOT_SUPPORTED (code 26). In this case, the MAPILogon(Ex) function is executed without errors. Both computers, mine and the other, are on the same network and use the same mail server and Outlook as the client for users. On the other computer send/receive of the emails works perfectly. I searched the Internet for a long time for an explanation of this error, but found nothing. A search on the site CodeProject also did not give anything.

Please explain me what this error means and how to fix it. Thank you very much!
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan8-Sep-22 22:19
mveRichard MacCutchan8-Sep-22 22:19 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 23:24
jur20028-Sep-22 23:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan9-Sep-22 0:23
mveRichard MacCutchan9-Sep-22 0:23 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 23:00
Victor Nijegorodov8-Sep-22 23:00 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 0:07
jur20029-Sep-22 0:07 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov9-Sep-22 0:25
Victor Nijegorodov9-Sep-22 0:25 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 0:24
professional Randor 9-Sep-22 0:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 1:44
jur20029-Sep-22 1:44 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 2:10
professional Randor 9-Sep-22 2:10 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Gerry Schmitz9-Sep-22 16:54
mveGerry Schmitz9-Sep-22 16:54 
QuestionProblem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 11:25
Roberto64_Ge6-Sep-22 11:25 
SuggestionRe: Problem creating an array of "class" Pin
Mircea Neacsu6-Sep-22 11:38
Mircea Neacsu6-Sep-22 11:38 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 11:57
Roberto64_Ge6-Sep-22 11:57 
AnswerRe: Problem creating an array of "class" Pin
Richard MacCutchan7-Sep-22 6:10
mveRichard MacCutchan7-Sep-22 6:10 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 4:55
Roberto64_Ge8-Sep-22 4:55 
GeneralRe: Problem creating an array of "class" Pin
Greg Utas8-Sep-22 5:24
mveGreg Utas8-Sep-22 5:24 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 5:32
Roberto64_Ge8-Sep-22 5:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.