Home

Topwiz Software

Anything is possible given enough time, money and Mountain Dew!

 
 
line decor
   
line decor
   
 

All examples include a PB8 and PB10 version. If you are using PB9, you can migrate the PB8 library.

An installer can be downloaded here which will install all of the examples.

Product Spotlight
Adapter

EmailSMTP

This program sends E-Mail using the SMTP protocol. The SMTP object inherits from my Winsock object. It supports HTML formatted messages and attachments. Attachments can be disk files or blob variables.

Images embedded within HTML messages are also supported. Just use src="cid:attach.filename" in the IMG tag where filename is the attachment it refers to.

EmailSMTP has the capability to use GMail as the SMTP server. It uses Cryptlib, an open source library to communicate with the server using TLS encryption.

It also has optional logging to Jaguar.log so is suitable for deployment to EAServer. It also has the ability to log messages to the system Event log.

Please note that the Win API function CryptBinaryToString used to base64 encode non-text attachments requires Win XP, Win Server 2003 or later.

Also included is a sample .reg file you can use to force FindMimeFromData to recognize an oddball file extension as plain ANSI text. Just edit the file and change all occurrences of 'ext' to your file extension. If a text file is not recognized as text, it will be sent base64 encoded. This won't hurt anything but it will make the file 33% larger.

Click here to download the PowerBuilder sample: EMAILSMTP.ZIP

Win API Functions used:

CreateFile
CloseHandle
ReadFile
UuidCreate
UuidToString
RpcStringFree
RtlMoveMemory
FindMimeFromData
GetTimeZoneInformation

Plus those in in the Winsock object

——— Last updated 07/06/2011 ———

Bitmap
ChooseFont
ComCtl
ControlPanel
Cookiemgr
Crypto
DisplayIcon
DWGridXP
EmailPOP3
EmailSMTP
Filesys
Filetouch
FTPEdit
GetFileName
GetURL
Icontray
ImageList
Jagman
LDAPQuery
LineCount
Mutex
Netquery
ODBC API
OSVersion
Outlook
PBChat
PBEditor
Ping
PrinterInstall
Rapi
RunandWait
Splitbars
Statbar
USPS Barcode
ValidLogon
Webbrowser
WinHTTP
Winsock
Zlibwapi

PBSearch
The ultimate PowerBuilder search utility. Faster, more accurate and more capable than the built-in search tool.

PBNIServ
Do what was once impossible! Create a Windows Service program entirely in PowerBuilder without any API function calls.

WizSource
WizSource is an advanced Source Control system that is designed to be the easiest and fastest provider for PowerBuilder.