// Bmailer.exe Bulk e-Mailer by B.Arnold // //The idea is to create an application that will send out emails in a batch process. //It's called "Bmailer" which is short for "Bulk e-Mailer". The program takes as //input two previously prepaired files. The first is a text file with a list of //the recipients email addresses. The list could be hundreds of addresses long. //The second is a template text file that will be sent to each recipient. // //When the "Send Mail" button is clicked, the application starts sending out //the emails to the given SMTP provider. Since some providers don't allow //high speed batch processing, an optional 30 second delay is provided between outputs. // Version 1.30 3/26/2009 New option to Embed Attachment in Body of email. // Delayed start added so that mailing starts at a future time. // Version 1.27 3/22/2009 Failed recipient addresses are now colored in RED. // See Recipients_DrawItem(). // Version 1.25 3/20/2009 Drag and Drop functionality added to attachment listbox. // See AttachmentFile_DragDrop(). // Version 1.24 3/19/2009 Are you sure? added to Send button. The recipients file is // checked for addresses containing ",:;". These are highlighted. // The counter now shows two numbers like 23/700. // The logs now display the line number in the recipients file. // A Checkbox has been added to disable any stopping on errors. // A Select Start checkbox has been added to allow starting in // the middle of the recipients list after an about. // Version 1.22 3/01/2009 Attachments ComboBox added to allow for multiple attachments. // More registry info saved: Recip., Template, Password. // Version 1.21 2/28/2009 A few more content types added to DoSendMail(). // ClientSize error corrected. Initial size must be less than 800 // to accomodate users with 800 x 600 video settings. // Version 1.20 2/28/2009 Save most typed information in Registry. // Field added so that one attachment may be added at end. // Version 1.14 1/28/2009 DoSendMailExecute() created with improved error trapping. // // Version 1.12 1/26/2009 Truetype, TT, button added to toggle fonts. // Listbox dimensions widened. // Try-Catch block added to Launch Edit. // Icon added near title. // Version 1.11 1/21/2009 High Security option uses port 587 instead of 25. // It also turns on SSL (Secure Sockets Layer). // Verbose SMTP error messages are now presented. // Two log files are created for Send Mail and Errors. // Version 1.05 1/13/2009 New buttons and functions added to edit text files. // Background color changes dynamically. // Checkbox added for "Hi Frank," option. // Version 1.02 1/12/2009 DoSendMail(), Add HI FIRSTNAME logic. See line 590. // Check for HTML in Template source. // Version 1.01 12/17/2008 DoSendMail(), IsBodyHtml added. See line 587.