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

Previous Page
This "CHT Batch Bot" application uses SMTP mail provided by a CHT DLL called HNDNETSMTP.DLL written in C#. Before you use it, the application must be configured with valid email parameters the same as any other smtp email client requires configuration. This application is stand-alone but requires the DLL mentioned above be located on the target machine and registered via REGASM.EXE.

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

The CHT email template used in this application is EMBEDNETSMTPCLASSES. The CHT class underlying this template is HNDNETSMTPCLASS located in files HNDNETSMTP.INC and HNDNETSMTP.CLW.

HNDMAILNET.EXE runs from the DOS prompt or can be called from another application using Clarion RUN, from a batch file or even from a .VBS script. It is capable of sending standard SMTP email as well as SSL SMTP email as found with GMAIL, HOTMAIL and other similar services.

It accepts several command line parameters that describe the email to be sent. These parameters are as follows:

• •  SENDING:
--to
<9>[REQ] mail@address.com
--cc
<9>[OPT] mail@address.com
--bcc
<9>[OPT] mail@address.com
--subj
<9>[REQ] This is the subject line.
--body
<9>[OPT] This is a short email body. Optional when --file is used.
<9>For lengthy body text use --body instead.
--file
<9>[OPT] emailbody.txt (Alternate to --body for lengthy body text)
<9> Optional when --body is used.
--attach
<9>[OPT] somezip.zip (Name of attachment requires full path)
--mail
<9>[OPT] INI-style 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 "hndmailnet.log" located in the same directory as the hndmailnet.exe.

HELP:
--help
<9>[OPT] Pops up this splash help screen
--video
<9>[OPT] Displays from the web a video or a document further
<9>explaining use of the application.
--update
<9>[OPT] Auto-update HNDMAILNET.EXE to the latest version
<9>Utilizes CHTSNAPGET.EXE if / when invoked.

 
PROCEDURE (1):
Main (Procedure Template: HandySourceProcedure)
Count Instance Class Type Methods Header File
(0001) MLNET HNDNetSMTPClass HND 107 HNDNETSMTP.INC
(0002) HSRC HNDSourceProcedure HND 47 HNDSRC.INC
(2) Class Instances Found In Main


 
PROCEDURE (2):
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


Copyright © 1996-2019
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Classes By Procedure In HNDMAILNET.APP