GENERATED: MAY 4,2023 - 8:01AM
BATCH-BOT CDO MAIL [V10.23.05. 27.03]

Previous Page

This "CHT Batch Bot", HNDMAILCDO.EXE, 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 EMBED CDO MAIL FUNCTIONS. The CHT CDO Class is called HNDMSCDO located in files HNDMSCDO.INC and HNDMSCDO.CLW.

HNDMAILCDO.APP 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 or CHT's HNDSNAPCALL class. It accepts several command line parameters that describe the email to be sent. These parameters are as follows:

<9>[REQ] This is the subject line.
<9>[OPT] emailbody.txt/.html (contains body text)
<9>[OPT] (Attachment requires full path)

<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.

--help Pops up a splash help screen and help file hndmailcdohelp.txt
--silent [OPT] Suppresses popup logs and help during mult-recipient sends

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel • (TIER-1) •
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0003) GlobalIncludeHNDDiskFunctions(HNDTools) 1 © CHT GlobalIncludeHNDDiskFunctions • (TIER-2) •
(0004) HNDCMPControlPanel(HNDTools) 1 © CHT HNDCMPControlPanel • (TIER-2) •
(0005) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(5) Global Templates • (TIER-2)

 1 – Template Type: Splash
  – – Procedure Name: JumpStartSplashCHTBlue()
Count Local Template Name Qty Local Template Description
(0006) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0007) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0008) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0009) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0010) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0011) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(6) Local Templates • (TIER-2)

 2 – Template Type: HandySourceProcedure
  – – Procedure Name: Main()
Count Local Template Name Qty Local Template Description
(0012) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0013) EmbedCDOMailFunctions(HNDTools) 1 © CHT EmbedCDOMailFunctions • (TIER-1) •
(2) Local Templates • (TIER-2)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
All Rights Reserved Worldwide

Application Templates