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. |
PROCEDURE (1): SelectEmailAddressesEX (Procedure Template: Browse) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | BRW1 | BrowseClass | ABC | 85 | ABBROWSE.INC |
(0002) | BRW1::EIPManager | BrowseEIPManager | ABC | 47 | ABBROWSE.INC |
(0003) | EditInPlace::TPS:Department | EditEntryClass | ABC | 9 | ABEIP.INC |
(0004) | EditInPlace::TPS:EmailAddress | EditEntryClass | ABC | 9 | ABEIP.INC |
(0005) | EditInPlace::TPS:Name | EditEntryClass | ABC | 9 | ABEIP.INC |
(0006) | EditInPlace::TPS:Notes | EditEntryClass | ABC | 9 | ABEIP.INC |
(0007) | MARK | HNDMarkerBrowse | HND | 480 | HNDMRKBR.INC |
(0008) | LNK | HNDShellLinkClass | HND | 61 | HNDSHLNK.INC |
(0009) | Handles7 | HNDSizes | HND | 23 | HNDSIZES.INC |
(0010) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0011) | BRW1::Sort0:Locator | StepLocatorClass | ABC | 12 | ABBROWSE.INC |
(0012) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0013) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(13) Class Instances Found In SelectEmailAddressesEX | |||||
PROCEDURE (2): AutoGenHTMLFromXML_VER02 (Procedure Template: HandySourceProcedure) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HSRC | HNDSourceProcedure | HND | 47 | HNDSRC.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(2) Class Instances Found In AutoGenHTMLFromXML_VER02 | |||||
PROCEDURE (3): Main (Procedure Template: Frame) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | SNAPCALL | HNDSnapCall | HND | 399 | HNDSNAPCALL.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In Main | |||||
PROCEDURE (4): JumpStartSplashCHTBlue (Procedure Template: Splash) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTellMe | HNDWindow | HND | 206 | HNDWINDO.INC |
(0002) | HWin | HNDWindow | HND | 206 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 40 | ABWINDOW.INC |
(4) Class Instances Found In JumpStartSplashCHTBlue | |||||