GENERATED: JUL 19,2019 - 1:07PM

Previous Page
This "CHT Batch Bot" application uses CDO mail which is a form of SMTP mail built into windows applications for use by scripting languages. Before you use it, the application must be configured with valid email parameters the same as any other email client requires configuration. This application is stand-alone and requires no extra DLLs.

The email template used to build this application is EMBEDCDOMAILFUNCTIONS. The CHT CDO Class is called HNDMSCDO located in files HNDMSCDO.INC and HNDMSCDO.CLW.

HNDMAILCDO.EXE source code, because it is in Clarion .APP format, is included as a standard part of the CHT toolkit, provided both in .APP format as well as ready-to-run, in .EXE format.

HNDMAILCDO.EXE runs from the DOS prompt or can be called from another application using Clarion RUN. It accepts several command line parameters that describe the email to be sent. These parameters are as follows:

<9>[REQ] (multiples add semi-colon between)
<9>[OPT] (multiples add semi-colon between)
<9>[OPT] (multiples add semi-colon between)
<9>[REQ] This is the subject line.
<9>[OPT] This is a short email body.
<9>Optional when the --body parameter is used.
<9>[OPT] emailbody.txt/.html (Alternate to --body for body text)
<9>[OPT] (Name of attachment requires full path)
<9>[OPT] mailfile.txt (INI file with tags To=, Subj=, Body=, Attach= )

<9>[CFG] Set up mail configuration information #0
<9>[CFG] Set up mail configuration information #1
<9>[CFG] Set up mail configuration information #2
<9>[CFG] Select and use configuration #0
<9>[CFG] Select and use configuration #1
<9>[CFG] Select and use configuration #2

All transactions such as config changes, emails or errors are logged into "hndmailcdo.log" located in the same directory as the hndmailcdo.exe.

<9>[CFG] Pops up a splash help screen
<9>[CFG] Self-update HNDMAILCDO.EXE to the latest version.
<9>Utilizes CHTSNAPGET.EXE if / when unvoked.
<9>[OPT] Displays a video or document from the web that
<9>further explains use of this application.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - CHT Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0003) GlobalIncludeHNDDiskFunctions(HNDTools) 1 CHT GlobalIncludeHNDDiskFunctions - Disk classes - HNDDisk - globally to your application.
(0004) HNDCMPControlPanel(HNDTools) 1 CHT HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0005) HandyCodeSigningExtension(HNDTools) 1 CHT HandyCodeSigningExtension - Application Code-Signing System
(0006) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(6) Global Templates Found

1 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0007) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0008) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0009) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0010) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0011) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(5) Local Templates Found In JumpStartSplashCHTBlue

2 - Procedure Template Type: HandySourceProcedure
Main ()
Count Local Template Name Qty Local Template Description
(0012) CHTBestPracticeEmbedClass(HNDTools) 1 CHT CHTBestPracticeEmbedClass CHT Best Practice Embedding Assistant
(0013) EmbedCDOMailFunctions(HNDTools) 1 CHT EmbedCDOMailFunctions - An Instance Of:
(2) Local Templates Found In Main

Copyright © 1996-2019 - CHT Version: [23C.01.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDMAILCDO.APP