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

Previous Page

This "CHT Batch Bot" application provides MAPI send capability provided by a CHT DLL called HNDNETMAPI.DLL written with C#.

The CHT template illustraed in this application is called SOURCE_EMBED_MAPI_FUNCTIONS. The class underlying this template is called HNDIMAIL located in files HNDIMAIL.INC and HNDIMAIL.CLW.

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

When you have a properly configured MAPI email client like Outlook or Windows Live Mail configured, this application is able to connect with it to send email. This application is stand-alone and requires no other CHT Dlls.

HNDMAILMAPI.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 email of the type(s) configured in your default email client.

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

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

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

HELP:
--help  r/><9>Pops up a splash help screen


 
PROCEDURE (1):
MapiSendProcedureNoAttachments (Procedure Template: Source)
Count Instance Class Type Methods Header File
(0001) NOT GENERATED HNDBuffer HND 60 HNDBUFFR.INC
(1) Class Instances Found In MapiSendProcedureNoAttachments


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


 
PROCEDURE (3):
MapiSendProcedureWithOneAttachment (Procedure Template: Source)
Count Instance Class Type Methods Header File
(0001) MAPI ADOBlob SV 4 SVADO.INC
(0002) NOT GENERATED HNDBuffer HND 60 HNDBUFFR.INC
(2) Class Instances Found In MapiSendProcedureWithOneAttachment


 
PROCEDURE (4):
JumpStartSplash06 (Procedure Template: Splash)
Count Instance Class Type Methods Header File
(0001) SNAP6 HNDSnapCall HND 346 HNDSNAPCALL.INC
(0002) HTellMe HNDWindow HND 215 HNDWINDO.INC
(0003) Toolbar ToolbarClass ABC 6 ABTOOLBA.INC
(0004) ThisWindow WindowManager ABC 39 ABWINDOW.INC
(4) Class Instances Found In JumpStartSplash06


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

chtlogo001.gif Classes By Procedure In HNDMAILMAPI.APP