GENERATED: MAY 4,2023 - 7:59AM
XML2HTML Docs Mail [V10.23.05. 27.03]

Previous Page

This "CHT Utility Application", HNDBULKMAILBATCHER.EXE, or 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 and it displays immediately, like text mail, without the user needing to click any kind of "allow" switch.

Style Sheet Generating Template
This application illustrates several "_mail_" XML2HTML example templates that allow 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 CSS styles (or modify ours) 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 • (TIER-1) •
(0002) AACHTControlPanelClose(HNDTools) 1 © CHT AACHTControlPanelClose • (TIER-1) •
(0003) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0004) ApplicationSnapIns(HNDTools) 1 © CHT ApplicationSnapIns • (TIER-3) •
(0005) GlobalIncludeHNDCaptureConsoleFunctions(HNDTools) 1 © CHT GlobalIncludeHNDCaptureConsoleFunctions • (TIER-2) •
(0006) GlobalIncludeHNDDiskFunctions(HNDTools) 1 © CHT GlobalIncludeHNDDiskFunctions • (TIER-2) •
(0007) GlobalIncludeHNDSnapCallFunctions(HNDTools) 1 © CHT GlobalIncludeHNDSnapCallFunctions • (TIER-3) •
(0008) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(0009) INIFile(HNDTools) 1 © CHT INIFile • (TIER-1) •
(0010) VblFileNames(HNDTools) 1 © CHT VblFileNames • (TIER-1) •
(10) Global Templates • (TIER-3)

 1 – Template Type: Browse
  – – Procedure Name: SelectEmailAddressesEX()
Count Local Template Name Qty Local Template Description
(0011) BrowseBox(ABC) 1 Browse on WindowsMailTps ()
(0012) BrowseUpdateButtons(ABC) 1 Update a Record from Browse Box on WindowsMailTps
(0013) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0014) CloseButton(ABC) 1 Close the Window
(0015) EmbedShellLinkClassFunctions(HNDTools) 1 © CHT EmbedShellLinkClassFunctions • (TIER-2) • (CODE-TABS •
(0016) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0017) HandyApplicationIniPut(HNDTools) 3 © CHT HandyApplicationIniPut • (TIER-1) • (17)
(0018) HandyMarkerBrowse(HNDTools) 1 © CHT HandyMarkerBrowse • (TIER-1) • (CODE-TABS) • (6)
(0019) HandyMarkerBrowseOneColumnQueryControl(HNDTools) 1 © CHT HandyMarkerBrowseOneColumnQueryControl • (TIER-1) • (3)
(0020) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient • (TIER-2) •
(0021) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0022) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns • (TIER-3) •
(0023) ResizeHandles(HNDTools) 1 © CHT ResizeHandles • (TIER-2) • (CODE-TABS) •
(13) Local Templates • (TIER-3)

 2 – Template Type: HandySourceProcedure
  – – Procedure Name: AutoGenHTMLFromXML_VER02()
Count Local Template Name Qty Local Template Description
(0024) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0025) EmbedStandardWebPageHeaderShort(HNDTools) 1 © CHT EmbedStandardWebPageHeaderShort • (TIER-4) •
(0026) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(3) Local Templates • (TIER-4)

 3 – Template Type: Frame
  – – Procedure Name: Main()
Count Local Template Name Qty Local Template Description
(0027) AppStartSplashProcedure(HNDTools) 1 © CHT AppStartSplashProcedure • (TIER-1) • (CODE-TABS) •
(0028) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0029) DateTimeDisplay(ABC) 1 Display the date and/or time in the current window
(0030) EmbedSnapCall(HNDTools) 1 © CHT EmbedSnapCall • (TIER-3) •
(0031) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0032) HandyApplicationIniPut(HNDTools) 1 © CHT HandyApplicationIniPut • (TIER-1) • (12)
(0033) HandyHelpFileFetch(HNDTools) 1 © CHT HandyHelpFileFetch • (TIER-1) • (6)
(0034) HandyHelpWhatsNew(HNDTools) 1 © CHT HandyHelpWhatsNew • (TIER-1) • (5)
(0035) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0036) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns • (TIER-3) •
(10) Local Templates • (TIER-4)

 4 – Template Type: Splash
  – – Procedure Name: JumpStartSplashCHTBlue()
Count Local Template Name Qty Local Template Description
(0037) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0038) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0039) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0040) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0041) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0042) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0043) ProcedureSnapIns(HNDTools) 1 © CHT ProcedureSnapIns • (TIER-3) •
(7) Local Templates • (TIER-4)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates