An email contains a header (from, to, ...) and a body and 0 or more attachments. Attachments have different mimetypes. A HTML-body is of type multipart/mixed. So your email contans a header, an empty body and 2 attachments both of type multipart/mixed, 1 attachment contains the text in plain ascii, the other one contains the HTML version of this text. multipart/mixed means for the email client: take the variant that suits best resulting in HTML in most email clients and in plain ascii if the client doesn't support HTML.
Hopefully weaponed with this knowledge you can find yor way in MAPI. If not: forget what i wrote.
I am using CFileDialog class in my application to browse a file. when i click on browse always by default application is opening desktop folder. I have one default path how to open that path instead of desktop.
Yep it's been a long time. The main reason is that I've been assigned to do Java-mumbo-jumbo and Eclipse plugins.
Not really my cup of tea.
Besides I've been busy (and still am...) trying to get my spare time to fit into the 24 hours given for each day.
How are things at your end? Busy? Nice things to work with?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
You should set the lpstrInitialDir member of the CFileDialog's m_ofn struct (see [^] and [^]).
Please read carefully the documentation: file dialog behaviour is OS-dependant (for instance, Windows 7 behaves distinctively with respect the initial directory).
Wow! Damned *fast* Roger!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
You are hoping wrongly. Noone will make your work for you, if you don't pay for it, and even then, probably noone will do it either.
Maybe you don't find any useful code for you, but there is quite a lot results[^] for the theory. Start reading and coding your own, and when you have concrete questions, then try it again. You'll probably get more satisfactory answers than now.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.