hi, i have to send email with VB and CDO. Searching the MSDN gave me some hints, but not a simple piece of code to start with. So i am looking for such a piece of code or a link to the MSDN. tia --> stefan <--
When you say CDO are you talking about CDO 1.2 , CDOEX or CDOSYS, The main difference being how you want the message to be sent using CDO 1.2 you can send a message remotely via MAPI and exchange and have it saved in the Sent mail see http://www.cdolive.com/cdo5.htm#SendMessage . CDOEX can be used locally on a Exchange Server to do much the same thing http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_cdo_sending_using_exchange.asp. CDOSYS is usually installed on most Windows boxes and can be used to send mail over SMTP or via the drop Directory on Windows or Exchange SMTP server see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_clb_sending_smtp_mail_by_port_25_using_cdosys_vbs.asp. Then you could always use WebDAV as well to send a mail http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_esdk_sending_a_message_webdav.asp. Cheers Glen "Stefan Hoffmann" wrote in message news:%2379WQmm%23FHA.3296@TK2MSFTNGP10.phx.gbl... > hi, > > i have to send email with VB and CDO. > > Searching the MSDN gave me some hints, but not a simple piece of code to > start with. > > So i am looking for such a piece of code or a link to the MSDN. > > tia > --> stefan <--