Table of Contents
Approved
You may encounter an error that the sendusing configuration value is not valid. There are several ways to solve this problem, so we’ll cover them in a moment.
Error: Price/performance Ratio Of “SendUsing” Configuration Is Incorrect
This is the error I must have gotten when trying to create an email with CDONTS in a VBS script. But I found Jeff’s post on forums.iis. This network did exactly what I wanted.
The script was created to migrate daily as a scheduled task and simply notify the user when available disk space falls below 15% of the total storage capacity of that type of storage.
Here is the script in detail, with comments at the end:
Explicit option
Dim ObjDriveobjFSO obscurationBlackout availableDecrease percentage of storage spacecommon to the sunLow email addressSet objFSO = CreateObject("Scripting.FileSystemObject")Set objDrive = objFSO.GetDrive("C:")AvailableDrive = objDrive.AvailableDriveTotalSize is equal to objDrive.(Available total sizepercentage = Disk space / Total size) 100If - Percentage > 15 ObjEmail, then set to CreateObject("CDO equals.Message") objEmail.From = "