An example assumes, that we are executing febootimail via Windows Script Host.
JScript example
To execute JScript, use CScript or WScript executables. For example: CScript.exe SendMail.js
/* SendMail.js */
function SendEmail()
{
    // Set email parameters...
    var mSubj = " -SUBJECT Email from WSH";
    var mText = " -TEXT Your text goes here.";
    var mAddr = " -FROM john@example.net -TO ted@example.com";
    var mServ = " -SMTP your.smtp.example.net";
    // Set Febootimail parameters...
    var mPath = "C:\Program Files\Febooti\";
    var mExec = "febootimail.exe";
    // Preparing to send...
    var mParams = mAddr + mServ + mSubj + mText;
    // Send email...
    var mObj = new ActiveXObject( "Shell.Application" );
    mObj.ShellExecute( mPath + mExec, mParams, "", "open", 0 );
    // More information about email commands...
    // www.febooti.com/products/command-line-email/online-help/   
}    Quick look
- Quick start · start sending the CMD email in minutes
- Command Line Email parameters
Need help?
If you have any questions, please do not hesitate to contact our support team.
