News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Send current document with CDO

Started by TimoVJL, April 23, 2012, 03:55:41 AM

Previous topic - Next topic

TimoVJL

This AddIn example send current document with CDO, if someone really want to email current  document to someone.

Make it better, more usable, bugfree, ETC ...
Let me know if someone really needs something like this.
May the source be with you

czerny

Hi Timovjl,

what is 'COM_NO_WINDOWS_H' for?
Or better in what cases should I use and define this?

czerny

TimoVJL

Quote from: czerny on May 02, 2012, 01:50:50 PM
Hi Timovjl,

what is 'COM_NO_WINDOWS_H' for?
Or better in what cases should I use and define this?

czerny
If you dont use windows.h and WIN32_LEAN_AND_MEAN and define headers as needed youself.
May the source be with you

czerny

Timo: Is this CDO-interface working with smtp port 25?
Is it possible to use port 587 insteed?
Port 25 is not very often available these days.

czerny

TimoVJL

#4
No, if 587 is for TLS (HotMail Outlook ?).
465 SSL is possible after adding some code. (GMail)
May the source be with you