Click here to Skip to main content
15,879,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Best way to get a program to send emails Pin
Anorexic Tribble12-Jan-15 3:48
Anorexic Tribble12-Jan-15 3:48 
GeneralRe: Best way to get a program to send emails Pin
enhzflep12-Jan-15 4:24
enhzflep12-Jan-15 4:24 
JokeRe: Best way to get a program to send emails Pin
jeron112-Jan-15 4:55
jeron112-Jan-15 4:55 
GeneralRe: Best way to get a program to send emails Pin
enhzflep12-Jan-15 4:59
enhzflep12-Jan-15 4:59 
GeneralRe: Best way to get a program to send emails Pin
David Crow12-Jan-15 5:12
David Crow12-Jan-15 5:12 
GeneralRe: Best way to get a program to send emails Pin
enhzflep13-Jan-15 9:01
enhzflep13-Jan-15 9:01 
GeneralRe: Best way to get a program to send emails Pin
CPallini12-Jan-15 5:04
mveCPallini12-Jan-15 5:04 
AnswerRe: Best way to get a program to send emails Pin
Dar Brett12-Jan-15 5:31
Dar Brett12-Jan-15 5:31 
I'm not really familiar with the stuff you're using, and I haven't used C++ for a few years, but from what I remember any functions in the Windows API that changed between character types depending on precomiler definitions had other similarly named functions.

I remember the function to show a message box was called MessageBox(), and internally it mapped to either MessageBoxA() or MessageBoxW() depending on precompiler definitions.

Maybe you'll find something similar with your function for sending the mail?

Then depending on how speedy you need it to run you could write some code to attempt the other version of the function if the first try failed, or if you need it faster try to detect what the MAPI client needed you to use and have some kinda fancy interface, function pointer, etc to convert your text and send it using the right format.

Alternatively, you could try using .Net from C++ to use all of the email junk built into that - though I'm kinda assuming you're avoiding needing to install the entire .Net framework alongside your application.
AnswerRe: Best way to get a program to send emails Pin
Richard MacCutchan12-Jan-15 6:15
mveRichard MacCutchan12-Jan-15 6:15 
AnswerRe: Best way to get a program to send emails Pin
Michael Haephrati19-Jan-15 10:36
professionalMichael Haephrati19-Jan-15 10:36 
GeneralRe: Best way to get a program to send emails Pin
Anorexic Tribble20-Jan-15 8:51
Anorexic Tribble20-Jan-15 8:51 
QuestionAbout MMS(Microsoft Media Server)... Pin
Member 112155137-Jan-15 21:05
Member 112155137-Jan-15 21:05 
AnswerRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan7-Jan-15 22:45
mveRichard MacCutchan7-Jan-15 22:45 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 4:47
Member 112155138-Jan-15 4:47 
QuestionRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan8-Jan-15 5:11
mveRichard MacCutchan8-Jan-15 5:11 
AnswerRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 5:29
Member 112155138-Jan-15 5:29 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan8-Jan-15 7:40
mveRichard MacCutchan8-Jan-15 7:40 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 15:58
Member 112155138-Jan-15 15:58 
QuestionEnumdisplaysetting return different display orientation in the same degree with different graphic Pin
cedricvictor1-Jan-15 5:02
cedricvictor1-Jan-15 5:02 
AnswerRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Albert Holguin5-Jan-15 6:45
professionalAlbert Holguin5-Jan-15 6:45 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
cedricvictor5-Jan-15 18:20
cedricvictor5-Jan-15 18:20 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Albert Holguin6-Jan-15 7:04
professionalAlbert Holguin6-Jan-15 7:04 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Mike Nordell2-Feb-15 10:56
Mike Nordell2-Feb-15 10:56 
Joke): Pin
JayBoyy1-Jan-15 1:24
JayBoyy1-Jan-15 1:24 
AnswerRe: Academic Question on Multi Core Pragramming Pin
Richard MacCutchan1-Jan-15 4:51
mveRichard MacCutchan1-Jan-15 4:51 

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.