Sending mail using CDOSYS
-
I am trying to use CDOSYS in a c++ application to send some emails. I have used #import to get the libraries and everything seems to be working ok except that the mail messages get stuck in inetpub\mailroot\queue. Any ideas how to find out what the problem is? Mike
-
I am trying to use CDOSYS in a c++ application to send some emails. I have used #import to get the libraries and everything seems to be working ok except that the mail messages get stuck in inetpub\mailroot\queue. Any ideas how to find out what the problem is? Mike
Could this be an issue with the IIS ? A misconfiguration somewhere ? Can you send normal mail messages using an application such as Outlook Express ? The CDOSYS API is pretty straightforward, so the errors should be limited to missing sender/recipent or other mail header info. One option here is to see the IIS logs for any tips. Usually when mails are stuck in the queue there's a reason for it, and it's logged. If it's not, you should increase the logging sensitivity (what gets logged) so that everything is written there. Then try again and see if any errors occur. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.