When you use CDONTS.NewMail and include the constant CDOVBS.INC, you may come across this error:
Error '8009000f' Object already exists. |
Some suggestions:
- use CDO.Message instead of CDONTS.NewMail (see Article #2126);
- instead of including CDOVBS.inc, use CONST statements in your own script to declare only those variables you need;
- avoid naming your object 'objMail'