Search Tools Links Login

SMTP email without mswinsck.ocx using Windows API's


Visual Basic 6, or VB Classic

SMTP email without mswinsck.ocx using Windows api's
Hai friends at psc...
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 josephninan@crosswinds.net.. 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


Original Author: Joseph Ninan

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 98 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD60205232000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 24,030 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.