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:

SENDING:
--to
<9>[REQ] mymail@address.com;mail@address.com;
--cc
<9>[OPT] mymail@address.com;mail@address.com;
--subj
<9>[REQ] This is the subject line.
--file
<9>[OPT] emailbody.txt/.html (contains body text)
--attach
<9>[OPT] somezip.zip (Attachment requires full path)

CONFIGURING:
--config0
<9>[CFG] Set up mail configuration information #0
--config1
<9>[CFG] Set up mail configuration information #1
--config2
<9>[CFG] Set up mail configuration information #2
--set0
<9>[CFG] Select and use configuration #0
--set1
<9>[CFG] Select and use configuration #1
--set2
<9>[CFG] Select and use configuration #2

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

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

 
PROCEDURE (1):
JumpStartSplashCHTBlue (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 206 HNDWINDO.INC
(0002) HWin HNDWindow HND 206 HNDWINDO.INC
(0003) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0004) ThisWindow WindowManager ABC 40 ABWINDOW.INC
(4) Class Instances Found In JumpStartSplashCHTBlue


 
PROCEDURE (2):
Main (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0) Class Instances Found In Main


Copyright © 1996-2023
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Classes By Procedure