PDA

View Full Version : E-mail system with smtp.


Morgoth
07-04-2002, 10:38 PM
I want to make some thing like a mailing system.
I can send messages out of my smtp... but I want to know how to get a reply, and have it reconize a name. How do i do that?

Morgoth
07-05-2002, 01:44 AM
hey, your right..
where can i get a pop3 server?

rush2vinod
07-11-2002, 12:53 PM
Hi this is my first message.

Well to start with u need to have microsoft exchange or a similar server which acts as ur pop3 server.

Then just like the way u access CDONTS for sending mails.
U will have access to one more dll CDO.dll using which u can access the folders and use all the features of outlook etc..

please let me know for more help..

regards
vinod anand

oracleguy
07-11-2002, 11:10 PM
To access recieved mail you can use CDO and MAPI.

Try:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_olemsg_accessing_folders.asp

Morgoth
07-15-2002, 07:59 AM
Hum...
/me is a little confused.

rush2vinod said I need some sort of exchange? What does this mean? What programs can i get that will act as a pop3 in some way?

And oracleguy gave me something nice to look at for opening folders, which I assume I might need.

rush2vinod
07-15-2002, 08:17 AM
What i actually meant was that when have a pop3 server (which is the one which accepts ur mails) like for example Microsoft exchange server u will have access to a dll - cdo.dll using which u can access the mail,folders etc.


Well the VB code will be something like this :-


Open up VB, select a new Standard VB Project. Click Project, References and scroll down and check Microsoft Outlook 9 Object Library (or whatever version of Outlook you’re running).

To start with, we’re just going to make a simple project that loads Outlook and reads the folders present. Add the following code to the form:

Private Sub Form_Load()

Dim objOutlook As New Outlook.Application
Dim objNameSpace As Outlook.NameSpace
Dim objInbox As MAPIFolder
Dim objFolder As MAPIFolder

'Get the MAPI reference
Set objNameSpace = objOutlook.GetNamespace("MAPI")

'Pick up the Inbox
Set objInbox = objNameSpace.GetDefaultFolder(olFolderInbox)

'Loop through the folders under the Inbox
For Each objFolder In objInbox.Folders
lstFolders.AddItem objFolder.Name
Next objFolder

End Sub

Hope this helps u solve ur problems..

let me know.. if u r still confused.

Morgoth
07-15-2002, 08:29 AM
I don't have a pop3 server. I don't have anything other then FTP/HTTP/SMTP... Now seeing how I need some sort of pop3 server to recieve e-mail, where can I get one? possibly for free if not, a trail would be nice to try.

I will worry about getting accounts and such after I have a pop3 type server working.