VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SMTP email without mswinsck.ocx using Windows API's

Joseph  (5 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Advanced   Wed 3rd February 2021

SMTP email without mswinsck.ocx using Windows api's
Hai friends at VBC...
This is the implementation of smtp (Simple Mail Transfer Protocol) using the winsock.dll. Till now i have seen only implentations of the above protocol using the bulky activex control mswinsck.ocx(106 kb). All you have to do is to include the module in your program and call the smtp( ...) function. It will return a 1 if succesful, 0 if an error occured during transmission and -1 if a serious error ocuured.
Your mail enabled program will be just about 30kb...Wonderful...No need of any support ocx files for your program to work. This program uses just pure windows api's only..Send in your comments and bug reports to [email protected].. The problem is that i have done extensive tests with the loopback ip address(127.0.0.1) running a mail server on my machine...Hadnt got the time to check out live at the net.
Also do mail me the latest version of the winsock.dll's basic module if you have...Thanks in advance


Rate SMTP email without mswinsck.ocx using Windows API's (41(41 Vote))

Download SMTP email without mswinsck.ocx using Windows API's

SMTP email without mswinsck.ocx using Windows API's Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters