Home

Topwiz Software

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

 
 
line decor
   All products on sale - 25% off now through October 31st! Discount is applied at checkout. 
line decor
   
 

All examples include a PB8 and PB10 version. If you are using PB9, you can migrate the PB8 library.
Click here to download an installer for all the free code samples: WebExamples.

If you find one or more of the free code examples useful, you can pay what you want to help maintain them. Click here to make a payment.

Product Spotlight
Adapter

EmailPOP3

This program retrieves E-Mail from a mail server using the POP3 protocol. The POP3 object inherits from my Winsock object.

EmailPOP3 uses Cryptlib, an open source library to communicate with the server using SSL encryption. The file cl32.dll is the 32bit Cryptlib and cl64.dll is the 64bit Cryptlib. The library emailpop364.pbl was built in PB 12.6 and has changes to support 32bit when run from the IDE or 32bit exe and support 64bit when run from a 64bit exe. The n_winsock object is no longer autoinstatiate so you can create the proper pop3 object (n_pop3 or n_pop364).

The email messages are returned as a string that can be saved to an .EML file.

There is a function to separate the parts of the raw message (textbody, htmlbody, attachments). Attachments can become blob variables using the of_Decode64 function.

Click here to download the PowerBuilder sample: EMAILPOP3.ZIP

Win API Functions used:

Only those in in the Winsock object

——— Last updated 03/14/2016 ———

Bitmap
BCrypt
Canvas
ChooseFont
ComCtl
ControlPanel
Cookiemgr
Cryptoapi
DisplayIcon
DWGridXP
DynamicMenus
EmailPOP3
EmailSMTP
Filesys
Filetouch
FTPClient
GetFileName
GetURL
Icontray
ImageList
Indirect
Jagman
LDAPQuery
LineCount
LineDraw
MessageBox
Mutex
Netquery
ODBC API
OSVersion
Outlook
PBChat
PBEditor
Ping
PrinterInstall
Rapi
ResizeResponse
RunAndWait
SendSMS
Splitbars
SQLAzure
Statbar
Twitter
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.