PDA

Click to See Complete Forum and Search --> : POP3, SMTP


pittsburghchris
Oct 4th, 1999, 07:31 AM
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)

alon
Oct 13th, 1999, 12:22 AM
Microsoft MAPI Command
((Component))

TheLeeMan
Oct 15th, 1999, 03:11 AM
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

pittsburghchris
Oct 15th, 1999, 03:50 AM
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...

TheLeeMan
Oct 16th, 1999, 01:14 AM
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

pittsburghchris
Oct 16th, 1999, 01:50 AM
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?

pittsburghchris
Oct 16th, 1999, 01:56 AM
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?

TheLeeMan
Oct 17th, 1999, 04:47 AM
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.

TheLeeMan
Oct 18th, 1999, 06:37 AM
[ this discussion was concluded via email]



------------------
TheLeeMan