A good way to speed up this would be to tell CDOSYS to use your web server's IIS pickup directory (usually c: \ inetpub \ mailroot \ pickup). Assuming you have a virtual SMTP server installed on your web server.
Another similar and even faster option would be to manually generate * .EML files and put them in the pickup directory. In addition, to avoid potential conflicts, you can put the files in a temporary directory, and then move the batch file to the pickup directory at regular intervals.
source share