gbSendMail provides a simple way of sending emails without the need for a complicated
email client. The user needs to supply only the minimum amount of information - SMTP server and login information, recipient, and subject/body of the email - then presses Send to send the email.
Internally, gbSendMail has several methods by which it can send emails. For a typical user, the default settings
should meet most needs.
However, gbSendMail provides programmers with a test bed for evaluating their own code for sending email. See the
"Programmer" section below for more details.
To install, just unzip the contents of the distribution file into a folder of its own!
gbSendMail provides a variety of features.
- Simple GUI
- Minimal user input to send an email
- Support for multi-line email body
- Optionally add Date/Time to email subject
- View history of Sent Emails
- Copy selected History email settings to main screen
- Create/load user default settings
- Settings saved between sessions (local INI file)
- Multiple send mail code solutions (author testbed)
- Online Help
Using gbSendMail is pretty darn simple. Just enter the SMTP server and login information, the
recipient email, and the subject/body to be sent. Then press "Send" on the toolbar.
All gbSendMail features and settings are accessed through the toolbar buttons.
- Send - Send the email
- Date - Add the current date to the email subject
- Time - Add the current time to the email subject
- Sound - Play a sound when the message is sent
- History - Display list of previously sent emails
- Settings - Display settings summary + dropdown menu to set options
- Help - Open this online Help page
Settings Dropdown Menu
The Toolbar Settings button provides the following dropdown menu items:
- Blat - Email is sent using a public domain DLL known as Blat
- Custom TCP (Wayne Diamond) - Email is sent using custom PowerBASIC TCP-enabled functions, including x86ASM Base64 performance-enhanced encoding, developed by Wayne Diamond
- Custom Class (Paul Squires) - Email is sent using PowerBASIC Class developed by Paul Squires
- Custom TCP Settings - Settings which apply only to Wayne Diamond's send email code
- Custom Class Settings - Settings which apply only to Paul Squires' send email code
There are no custom settings associated with the Blat approach. The Blat DLL does offer additional settings,
but they are not implemented by gbSendEmail.
The following settings are specific to the email solution written by Wayne Diamond.
- AUTH None -
- AUTH Plain -
- AUTH Login -
- Encode (ASM) - Header encoding uses a procedure written in ASM
- Encode (PowerBASIC) - Header encoding uses a procedure written PowerBASIC
The following settings are specific to the email solution written by Paul Squires.
... not yet implemented in gbSendEmail.
For each email sent, gbSendMail places a copy of the To, Subject, and Body values into a
special file, "history.txt", which may be displayed.
Double-click on an item in the History list to copy the information to the main screen,
close the History dialog and return to the main screen.
A History list context menu is available which will remove all but the 5 most recent emails in the list.
Default User Settings
The Ctrl-F key combination can be used to save the current user settings (those visible on the
gbSendMail screen). Then, the Ctrl-R key combination can be used to restore those settings at
The settings are kept in the file "files\settings.txt".
The following key combinations are available to the user to access gbSendMail features:
- F1 - Help
- Ctrl+E - Erase all user inputs
- Ctrl+F - Save settings to "settings.txt"
- Ctrl+G - Get Authorizations supported by server
- Ctrl+H - Display email history
- Ctrl+R - Load settings found in "settings.txt"
- Ctrl+S - Send the email
gbSendMail currently contains two methods of sending an email quickly - by providing a wrapper for the
public domain Blat DLL, and via a custom set of functions posted
by Wayne Diamond. I've yet to try out a third solution posted by Paul Squires but hope to do so shortly.
The Blat developers created a command line EXE as well as a DLL for use within other applications. gbSendMail
uses the 236KB DLL.
Wayne Diamond released a pair of functions. His SendMail function, coded to use PowerBASIC TCP commands
does most of the work, while his Base64enc procedure provides encoding as needed within the SendMail function.
Comments and suggestions are welcome!