Command line mail VBscript (with attachments)

Batch scripting on windows provides no way of sending emails. There are paid-for solutions like febootimail and even free solutions like SendEmail. In the main you should probably try using the latter as I haven’t maintained this VBscript for a long time. That in itself is probably a good thing as I’ve used it alot and never needed to update it!

Anyway it may help someone who is adding the functionality into their scripts.