|
-
Oct 4th, 1999, 07:31 AM
#1
Thread Starter
New Member
I need a way to connect to a server on a specified port number, and send strings (e.g. HELO a, MAIL, RCPT, USER, PASS, etc...) with visual basic. Is there a reasonably simple way to do this? All I need is to connect, send, and receive. If I can recieve then I can display it easily. (I'm trying to write an Email program that is smaller that Eudora and fits easily on a floppy)
-
Oct 13th, 1999, 12:22 AM
#2
New Member
Microsoft MAPI Command
((Component))
-
Oct 15th, 1999, 03:11 AM
#3
Member
Try using the Winsock control DSSock by Dolphin Software. I find it very handy. It will allow you to connect to any port on any server and then send/recieve any data you need to. They have a demo you can download to try it out.
TheLeeMan
-
Oct 15th, 1999, 03:50 AM
#4
Thread Starter
New Member
I looked at DSSocket but I could not figure out how to get it to work right.... I read all the comments in the code but still could not get it to connect to any servers or send any data...
-
Oct 16th, 1999, 01:14 AM
#5
Member
I agree, the Dolphin System makes it rather confusing. Take a look at the small project I put together to allow you to communicate with my pop server. You would want to make this all automated in a mail client, but this gives you the idea about how to communicate between your app and the server's port 110.
http://www.gbgm-umc.org/smumc-va/personal/dssocket.zip
-
Oct 16th, 1999, 01:50 AM
#6
Thread Starter
New Member
I still can't get this stuff to work... Something with it not finding VBXs and OCXs. I got the pre-compiled example chat program to connect to my pop3 server and I could issue commands, but I cannot open up the projects or forms and actually modify it to make a dedicated pop3 client. Does it not work for VB5 (it should) or do I need to pay and get the registered version of DsSocket?
-
Oct 16th, 1999, 01:56 AM
#7
Thread Starter
New Member
I don't know how I got it to load the projects last time I had trouble (my 1st and 2nd messages) but I got rid of the stuff after I couldn't make it work. After downloading the stuff from dolphinsys.com, none of it is working. Any ideas?
-
Oct 17th, 1999, 04:47 AM
#8
Member
Oh, I think your problem is that you have not registered the controls with your computer. It's looking for them in the registry but cann't find any refrence to them (and thus gives you an error). You need to register the contol using the regsvr32.exe (or something like that) file on your VB CD. Just drag the OCX onto the CD's EXE and it will register it. This should solve your problems.
-
Oct 18th, 1999, 06:37 AM
#9
Member
[ this discussion was concluded via email]
------------------
TheLeeMan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|