|
|
2 giorni fa | |
|---|---|---|
| .specs | 2 giorni fa | |
| src | 2 giorni fa | |
| templates | 2 giorni fa | |
| tools | 2 giorni fa | |
| .gitignore | 2 giorni fa | |
| MassMailer.hta | 2 giorni fa | |
| README.md | 2 giorni fa | |
| Start-MassMailer.cmd | 2 giorni fa | |
| config.example.ini | 2 giorni fa | |
Windows HTA application under construction for individual marketing emails for a 9 x 12 postcard business.
.mdb with versioned tables for contacts, suppressions, templates, campaigns, attempts, protected secrets, and audit records.TEMPLATE_ROOT, snapshots local PNG/JPEG/GIF images into the MDB, and previews the stored version in an untrusted HTA frame.SMTP_TEST_TO address. Campaign sending is not implemented yet.The app sends no marketing messages in this build. Closing the HTA stops all in-app activity.
config.example.ini to config.ini and edit local settings. Set SMTP_TEST_TO to the owner-controlled test inbox. BUSINESS_POSTAL_ADDRESS remains blank until you supply it; campaign review and approval require it. Never place the SMTP password in the INI.C:\Windows\SysWOW64\cscript.exe //nologo tools\init-db.vbs once to create data\MassMailer.mdb. It refuses to overwrite an existing database.Start-MassMailer.cmd. The launcher selects the configured script architecture and opens the MDB before starting the HTA. Use C:\Windows\SysWOW64\cscript.exe //nologo tools\launch.vbs check to check startup without opening the UI.email header. Optional columns are business_name, source_reference, and acquired_at (YYYY-MM-DD). Supply a source reference in the CSV or the form; preview and review rejected rows before importing.TEMPLATE_ROOT and import them from the HTA. The accepted HTML subset and example are in templates/README.md. Imported versions are immutable snapshots. The template preview shows stored content, while the campaign preview adds the full footer.BUSINESS_POSTAL_ADDRESS in local config.ini. Enter a campaign name and subject, select an imported template, and press Review message and recipients. After checking the full preview, send the campaign-specific test to SMTP_TEST_TO and confirm it arrived. Approval records paused deliveries; it does not start sending.Local config.ini, MDB files, logs, backups, and temporary test data are ignored by Git.
Run powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools\test-contact-flow.ps1 for a disposable MDB integration check. It covers database initialization and preflight, protected password save/load/rotation using synthetic values, local MIME pickup with an inline image, contact import, duplicate rejection, and suppression. Run powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools\test-template-flow.ps1 for template import, snapshot, preview, and unsafe-input checks. Run powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools\test-campaign-flow.ps1 for recipient review, stale-review rejection, internal-only campaign MIME, and paused approval. C:\Windows\SysWOW64\cscript.exe //nologo //E:JScript tools\test-contacts.js covers CSV parsing and validation. powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools\test-hta-syntax.ps1 checks the HTA script. powershell.exe -NoProfile -ExecutionPolicy Bypass -File tools\test-smtp-capabilities.ps1 checks the configured server's STARTTLS handshake without authenticating or sending mail.
System-wide settings belong in the INI; campaign settings, templates, contacts, queue state, and protected secrets belong in the Access MDB. Live campaign dispatch, pacing, recovery, and reporting are still under development.
Powered by TurnKey Linux.