CDO with VC++ ?? Working sample anyone?
Discussion
A bit of a poser for the PH Computers'n'Stuff collective...
Lots of us have made CDO send an e-mail. Probably from within ASP or maybe VB.
But has anyone done it from inside a C++ program?
I've managed to use ClassWizard to create the classes I need but can I get the bugger to work? Nope..
So. If anyone has a working sample. A little MFC program which send an e-mail via a CDO...that I could do a little cut'n'pasting from I would be very grateful.
In fact - I'll even buy you a pint! So go on C++ guys...who has done it, then?
Lots of us have made CDO send an e-mail. Probably from within ASP or maybe VB.
But has anyone done it from inside a C++ program?
I've managed to use ClassWizard to create the classes I need but can I get the bugger to work? Nope..
So. If anyone has a working sample. A little MFC program which send an e-mail via a CDO...that I could do a little cut'n'pasting from I would be very grateful.
In fact - I'll even buy you a pint! So go on C++ guys...who has done it, then?
JonRB said:
Errrr, CDO? Que?
Edit: I've sent emails via MAPI in C++. Does that help?
>> Edited by JonRB on Wednesday 6th October 19:32
CDO - Collaboration Data Objects ... the things that came after MAPI. I've made MAPI do stuff in the past too...in fact its what I'm replacing, unfortunately.
The reason is that MAPI is fraught to make operate in the context of a Win32 Service - and CDO is no trouble...
JonRB said:
Ok. Send me the ASP and/or VB code and I'll see if I can convert it to C++ for you.
Edit: C++ Sample Code for CDO on MSDN is here and here
>> Edited by JonRB on Wednesday 6th October 22:46
Excellent! THANKS!
I can manage the C++ Jon, its the working example I needed and it looks like you've found it for me...normally I'm good at search the MSDN - obviously not today!
THANKS! When I organise a local drive IOU a pint!
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


