Click here to Skip to main content
15,883,967 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 12:24
professionalGreg Utas11-Sep-22 12:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:29
samzcs11-Sep-22 13:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:34
samzcs11-Sep-22 13:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:46
professionalGreg Utas11-Sep-22 13:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 15:09
Mircea Neacsu11-Sep-22 15:09 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 0:00
mveRichard MacCutchan12-Sep-22 0:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 4:06
magnomagna23-Sep-22 4:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 21:15
jur20028-Sep-22 21: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 21:19
mveRichard MacCutchan8-Sep-22 21:19 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 22:24
jur20028-Sep-22 22:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan8-Sep-22 23:23
mveRichard MacCutchan8-Sep-22 23:23 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 22:00
Victor Nijegorodov8-Sep-22 22:00 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 23:07
jur20028-Sep-22 23:07 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 23:25
Victor Nijegorodov8-Sep-22 23:25 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 8-Sep-22 23:24
professional Randor 8-Sep-22 23:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 0:44
jur20029-Sep-22 0:44 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 1:10
professional Randor 9-Sep-22 1:10 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Gerry Schmitz9-Sep-22 15:54
mveGerry Schmitz9-Sep-22 15:54 
QuestionProblem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 10:25
Roberto64_Ge6-Sep-22 10:25 
SuggestionRe: Problem creating an array of "class" Pin
Mircea Neacsu6-Sep-22 10:38
Mircea Neacsu6-Sep-22 10:38 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 10:57
Roberto64_Ge6-Sep-22 10:57 
AnswerRe: Problem creating an array of "class" Pin
Richard MacCutchan7-Sep-22 5:10
mveRichard MacCutchan7-Sep-22 5:10 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 3:55
Roberto64_Ge8-Sep-22 3:55 
GeneralRe: Problem creating an array of "class" Pin
Greg Utas8-Sep-22 4:24
professionalGreg Utas8-Sep-22 4:24 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge8-Sep-22 4:32
Roberto64_Ge8-Sep-22 4: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.