GENERATED: DEC 21,2017 - 3:34PM
XML2HTML Bulk Mail Utility #1 [V17.11.28]

Previous Page
This "CHT Utility Application", CHT Bulk Mail Batcher, is a batch-oriented approach to email sending via SMTP from Clarion applications or from DOS batch files using one or the other of two CHT Command Line utility applications called HNDMAILSMTP.EXE and CHTSNAPSMTP.EXE.

Generate HTML Mail With Internal Style Sheets
It is important for HTML email to use internal style sheets so that the email, on arriving in the recipient's inbox, does not need to request external style sheets from the web. It is therefore deemed "safe" by email clients. It displays immediately, like text mail without the user needing to click any kind of "allow" switch.

Style Sheet Generating Template
This application illustrates a new template that allows the developer to change every important aspect of numerous useful HTML style sheets so that different "looks" can easily be incorporated into different HTML-generating-procedures. To create HTML outputs with new and different looks, simply copy the existing example procedure and add your own style and flare by adjusting template switches and by removing or adding to the various "sections" incorporated into our examples.

Select Single Or Multipe Email Addresses
Select one or more email addresses from the email browse(s) using standard MS Windows record marking and an .HTML file written ahead of time using CHTSNAPEDIT.EXE or generated by one of this application's "AutoGen" procedures.

A batch file is generated, which in a loop, successively calls HNDMAILSMTP.EXE or CHTSNAPSMTP.EXE (depending which one you choose to use) to send the HTML email body to the addresses selected above. The batch file may be run either from the DOS prompt or from a simple desktop link or from inside your own Clarion applications, or using CHT's HNDBATCHRUNNER.EXE. utility.

An example of this run-from-Clarion concept, is provided in the "Run (Send Mail With) Last Generated Batch Script" menu of this application.

CHT Bulk Mail Batcher is able to import email addresses exported from other applications such as Windows Live Mail.

Preconfigure your SMTP email-send account beforehand and select that account for sending before generating your batch file.

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - Global Control Panel.
(0002) AACHTControlPanelClose(HNDTools) 1 CHT AACHTControlPanelClose - Global Control Panel (Close).
(0003) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0004) ApplicationSnapIns(HNDTools) 1 CHT ApplicationSnapIns - Application Snap-In System
(0005) GlobalIncludeHNDCaptureConsoleFunctions(HNDTools) 1 CHT GlobalIncludeHNDCaptureConsoleFunctions - Capture Console Classes - HNDCaptureConsole - globally to your application.
(0006) GlobalIncludeHNDDiskFunctions(HNDTools) 1 CHT GlobalIncludeHNDDiskFunctions - Disk classes - HNDDisk - globally to your application.
(0007) GlobalIncludeHNDSnapCallFunctions(HNDTools) 1 CHT GlobalIncludeHNDSnapCallFunctions - CHT Snap Call Classes - HNDSnapCall - globally to your application.
(0008) HandyCodeSigningExtension(HNDTools) 1 CHT HandyCodeSigningExtension - Application Code-Signing System
(0009) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(0010) INIFile(HNDTools) 1 CHT INIFile - .INI FIle and Registry extension classes - HNDIni - globally to your application.
(0011) VblFileNames(HNDTools) 1 CHT VblFileNames - Incorporate variable file names and defaults into your app from the dictionary.
(11) Global Templates Found

1 - Procedure Template Type: Browse
SelectEmailAddressesEX (STRING xCaption), STRING
Count Local Template Name Qty Local Template Description
(0012) BrowseBox(ABC) 1 Browse on WindowsMailTps ()
(0013) BrowseUpdateButtons(ABC) 1 Update a Record from Browse Box on WindowsMailTps
(0014) CHTBestPracticeEmbedClass(HNDTools) 1 CHT CHTBestPracticeEmbedClass CHT Best Practice Embedding Assistant
(0015) CloseButton(ABC) 1 Close the Window
(0016) EmbedShellLinkClassFunctions(HNDTools) 1 CHT EmbedShellLinkClassFunctions - An Instance Of:
(0017) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0018) HandyApplicationIniPut(HNDTools) 3 CHT HandyApplicationIniPut - Embed a PUT to the Application INI file or Windows registry.(17)
(0019) HandyMarkerBrowse(HNDTools) 1 CHT HandyMarkerBrowse - Explorer-like ABC browse with record marking on table: WindowsMailTps
(0020) HandyMarkerBrowseOneColumnQueryControl(HNDTools) 1 CHT HandyMarkerBrowseOneColumnQueryControl - Attach a CHT single column query control to your Clarion Handy Tools HandyMarkerBrowse procedure.(3)
(0021) HandyToolBarGradient(HNDTools) 1 CHT HandyToolBarGradient - Place gradient properties as a backdrop on the window toolbar.
(0022) HandyWindowGradient(HNDTools) 1 CHT HandyWindowGradient - Place gradient properties as a backdrop on the window.
(0023) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0024) ProcedureSnapIns(HNDTools) 1 CHT ProcedureSnapIns - Application Snap-In System
(0025) ResizeHandles(HNDTools) 1 CHT ResizeHandles - Attach "grip-style" resize handles to any window.
(14) Local Templates Found In SelectEmailAddressesEX

2 - Procedure Template Type: HandySourceProcedure
AutoGenHTMLFromXML_VER02 (STRING xXMLFile, STRING xHTMLFile)
Count Local Template Name Qty Local Template Description
(0026) CHTBestPracticeEmbedClass(HNDTools) 1 CHT CHTBestPracticeEmbedClass CHT Best Practice Embedding Assistant
(0027) EmbedStandardWebPageHeaderShort(HNDTools) 1 CHT EmbedStandardWebPageHeaderShort - Assists with building a BASIC static web page header programmatically.
(2) Local Templates Found In AutoGenHTMLFromXML_VER02

3 - Procedure Template Type: Frame
Main ()
Count Local Template Name Qty Local Template Description
(0028) AppStartSplashProcedure(HNDTools) 1 CHT AppStartSplashProcedure - Application Splash screen earlier with an option for threaded/unthreaded.
(0029) CHTBestPracticeEmbedClass(HNDTools) 1 CHT CHTBestPracticeEmbedClass CHT Best Practice Embedding Assistant
(0030) DateTimeDisplay(ABC) 1 Display the date and/or time in the current window
(0031) EmbedSnapCall(HNDTools) 1 CHT EmbedSnapCall - An Instance Of:
(0032) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0033) HandyApplicationIniPut(HNDTools) 1 CHT HandyApplicationIniPut - Embed a PUT to the Application INI file or Windows registry.(12)
(0034) HandyHelpFileFetch(HNDTools) 1 CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(6)
(0035) HandyHelpWhatsNew(HNDTools) 1 CHT HandyHelpWhatsNew - Build A What's New Request To Your Website.(5)
(0036) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0037) ProcedureSnapIns(HNDTools) 1 CHT ProcedureSnapIns - Application Snap-In System
(10) Local Templates Found In Main

4 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0038) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0039) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0040) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0041) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0042) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0043) ProcedureSnapIns(HNDTools) 1 CHT ProcedureSnapIns - Application Snap-In System
(6) Local Templates Found In JumpStartSplashCHTBlue

Copyright © 1996-2017 - CHT Version: [22A.00.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDBULKMAILBATCHER.APP