Click to See Complete Forum and Search --> : E-mail Client
alon
Oct 13th, 1999, 12:28 AM
I want to make a program, for my company, that checks a personal E-mail account. and if that account has a message, then it sends another Message to to his corporate Address "you've got mail"
Please help me.
I tried MAPI and About 4 Demo's from Here.
How???
Please Help
Alon~
TheLeeMan
Oct 15th, 1999, 03:07 AM
The simplest way to accomplish this would be instead of using specail mail/pop control or dll, access the mail server directly. To do this use a Winsock control (such as DSSock by Dolphin Software) to connect to port 110 of the mail server. Once connected send the username and password and the server will respond with the number of emails.
Sample Transmission:
+OK QPOP (version 2.53) at kronos.alcnet.com starting.
user lee
Password required for lee.
pass *password here*
+OK lee has 15 messages (54054 octets).
See, easy as can be. If you have any questions or wonder what this code would look like post a message in this forum.
TheLeeMan
alon
Oct 15th, 1999, 06:32 AM
I still don't understand,
(A) I don't have that DLL (DSSock).
(B) I want to access multiple servers at once.
(C) I'm on a deadline, I will be fired from my job if I don't get this done with in a week.
Peace,
Alon~
TheLeeMan
Oct 17th, 1999, 06:25 AM
Here, take a look at the items I placed in this zip file. Is this the sort of thing you are looking for?
You need to register the control (*.OCX) using the regsvr32.exe file (or somthing similar) found on your VB cd-rom. If you wish to keep the OCX you need to purchase a copy from www.dolphinsys.com (http://www.dolphinsys.com)
Just run the exe, it should be self explanitory.
If you want the source code contact me via email to talk.
http://www.gbgm-umc.org/smumc-va/personal/emailnotify.zip
------------------
TheLeeMan
TheLeeMan@ALCnet.com
alon
Oct 17th, 1999, 01:39 PM
It tells me that the dssock.ocx is not registered...
Alon~
TheLeeMan
Oct 18th, 1999, 02:26 AM
Like I said, you need to register it.
1] Download the zip file below
2] Copy the regsvr32.exe (in zip file) to the c:\windows\system\ directory
3] Run the OcxDll.Reg file
4] Copy the dssocket.ocx file to your c:\windows\system directory, right click on it and select "Register"
http://www.gbgm-umc.org/smumc-va/personal/ocxdll.zip
TheLeeMan
[This message has been edited by TheLeeMan (edited 10-19-1999).]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.