Click here to Skip to main content
15,850,675 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Best way to get a program to send emails Pin
Anorexic Tribble12-Jan-15 4:48
Anorexic Tribble12-Jan-15 4:48 
GeneralRe: Best way to get a program to send emails Pin
enhzflep12-Jan-15 5:24
enhzflep12-Jan-15 5:24 
JokeRe: Best way to get a program to send emails Pin
jeron112-Jan-15 5:55
jeron112-Jan-15 5:55 
GeneralRe: Best way to get a program to send emails Pin
enhzflep12-Jan-15 5:59
enhzflep12-Jan-15 5:59 
GeneralRe: Best way to get a program to send emails Pin
David Crow12-Jan-15 6:12
David Crow12-Jan-15 6:12 
GeneralRe: Best way to get a program to send emails Pin
enhzflep13-Jan-15 10:01
enhzflep13-Jan-15 10:01 
GeneralRe: Best way to get a program to send emails Pin
CPallini12-Jan-15 6:04
mveCPallini12-Jan-15 6:04 
AnswerRe: Best way to get a program to send emails Pin
Dar Brett12-Jan-15 6:31
Dar Brett12-Jan-15 6: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 7:15
mveRichard MacCutchan12-Jan-15 7:15 
AnswerRe: Best way to get a program to send emails Pin
Michael Haephrati19-Jan-15 11:36
professionalMichael Haephrati19-Jan-15 11:36 
GeneralRe: Best way to get a program to send emails Pin
Anorexic Tribble20-Jan-15 9:51
Anorexic Tribble20-Jan-15 9:51 
QuestionAbout MMS(Microsoft Media Server)... Pin
Member 112155137-Jan-15 22:05
Member 112155137-Jan-15 22:05 
AnswerRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan7-Jan-15 23:45
mveRichard MacCutchan7-Jan-15 23:45 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 5:47
Member 112155138-Jan-15 5:47 
QuestionRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan8-Jan-15 6:11
mveRichard MacCutchan8-Jan-15 6:11 
AnswerRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 6:29
Member 112155138-Jan-15 6:29 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Richard MacCutchan8-Jan-15 8:40
mveRichard MacCutchan8-Jan-15 8:40 
GeneralRe: About MMS(Microsoft Media Server)... Pin
Member 112155138-Jan-15 16:58
Member 112155138-Jan-15 16:58 
QuestionEnumdisplaysetting return different display orientation in the same degree with different graphic Pin
cedricvictor1-Jan-15 6:02
cedricvictor1-Jan-15 6:02 
AnswerRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Albert Holguin5-Jan-15 7:45
professionalAlbert Holguin5-Jan-15 7:45 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
cedricvictor5-Jan-15 19:20
cedricvictor5-Jan-15 19:20 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Albert Holguin6-Jan-15 8:04
professionalAlbert Holguin6-Jan-15 8:04 
GeneralRe: Enumdisplaysetting return different display orientation in the same degree with different graphic Pin
Mike Nordell2-Feb-15 11:56
Mike Nordell2-Feb-15 11:56 
Joke): Pin
JayBoyy1-Jan-15 2:24
JayBoyy1-Jan-15 2:24 
AnswerRe: Academic Question on Multi Core Pragramming Pin
Richard MacCutchan1-Jan-15 5:51
mveRichard MacCutchan1-Jan-15 5: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.