GENERATED: JUL 19,2019 - 1:07PM
BATCH-BOT CDO MAIL [V10.19.07]

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:

SENDING:
--to
<9>[REQ] mymail@address.com (multiples add semi-colon between)
--cc
<9>[OPT] mycc@address.com (multiples add semi-colon between)
--bcc
<9>[OPT] mybcc@address.com (multiples add semi-colon between)
--subj
<9>[REQ] This is the subject line.
--body
<9>[OPT] This is a short email body.
<9>Optional when the --body parameter is used.
--file
<9>[OPT] emailbody.txt/.html (Alternate to --body for body text)
--attach
<9>[OPT] somezip.zip (Name of attachment requires full path)
--mail
<9>[OPT] mailfile.txt (INI file with tags To=, Subj=, Body=, Attach= )

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

 
PROCEDURE (1):
JumpStartSplashCHTBlue (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) HTellMe HNDWindow HND 215 HNDWINDO.INC
(0002) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0003) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(3) 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-2019
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Classes By Procedure In HNDMAILCDO.APP