Hi,
Ok here is the situation. I have MS Exchange 2003 (Version: 6.5.7638.1) on a MS Windows 2003 server. All clients have WinXP Pro with MS outlook installed. I'm trying to develop an application that can send emails without using MS Outlook. So I am trying the CDO mail funcion (cdosys.dll). I have tried using the code from faq1251-4969 (How to send e-mail using CDO and checking the connection status first. By Mike Gagnon) and tried using code like this..
oMSG = CREATEOBJECT('cdo.message')
oMSG.To = 'me@mydomain.com'
oMSG.From = 'you@mydomain.com'
oMSG.Subject = 'Hello Email'
oMSG.TextBody = 'This is an easy way to create an email'
oMSG.Send()
Still not 1 email is being sent. I have read through other posts about CDO mail problems and most replys say to be sure you have CDO installed on the client computer. I believe I have it installed, but could someone PLEASE explain how to install this so I can be sure I did it right. Unless I'm missing something here, it sounds to me like all you need to do is have the cdosys.dll registered on the client machine. But appearently there must be more to it than that. I have read the MS support article "Where to acquire the CDO Libraries (all versions)"
but this does not help much for setting this up on a client computer. Other than saying to register the .dll file with regsrv32.exe.
Please Help,
FoxT
Ok here is the situation. I have MS Exchange 2003 (Version: 6.5.7638.1) on a MS Windows 2003 server. All clients have WinXP Pro with MS outlook installed. I'm trying to develop an application that can send emails without using MS Outlook. So I am trying the CDO mail funcion (cdosys.dll). I have tried using the code from faq1251-4969 (How to send e-mail using CDO and checking the connection status first. By Mike Gagnon) and tried using code like this..
oMSG = CREATEOBJECT('cdo.message')
oMSG.To = 'me@mydomain.com'
oMSG.From = 'you@mydomain.com'
oMSG.Subject = 'Hello Email'
oMSG.TextBody = 'This is an easy way to create an email'
oMSG.Send()
Still not 1 email is being sent. I have read through other posts about CDO mail problems and most replys say to be sure you have CDO installed on the client computer. I believe I have it installed, but could someone PLEASE explain how to install this so I can be sure I did it right. Unless I'm missing something here, it sounds to me like all you need to do is have the cdosys.dll registered on the client machine. But appearently there must be more to it than that. I have read the MS support article "Where to acquire the CDO Libraries (all versions)"
but this does not help much for setting this up on a client computer. Other than saying to register the .dll file with regsrv32.exe.
Please Help,
FoxT