![]() |
CDO + CDONTS email routine?
Just curious... Some webapps that I develop could be deployed on older NT
systems OR Win2K3... Is there a simple test for CDO/CDONTs that I can use in code so I could implement both routines and use the one that's existing on the server? Thx |
Re: CDO + CDONTS email routine?
"Noozer" <dont.spam@me.here> wrote in message
news:KECGe.66866$%K2.40519@pd7tw1no... > Just curious... Some webapps that I develop could be deployed on older NT > systems OR Win2K3... > > Is there a simple test for CDO/CDONTs that I can use in code so I could > implement both routines and use the one that's existing on the server? Sure :) On Error Resume Next Set myTest = CreateObject("CDO.MailMessage") if err.number > 0 Then Set myTest = CreateObject("CDONTS.NewMail") End If err.clear |
| All times are GMT. The time now is 08:03 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.