How can I make an email program? Should I use the MAPI controls? Where can I learn to use them?
Printable View
How can I make an email program? Should I use the MAPI controls? Where can I learn to use them?
http://www.planet-source-code.com - search MAPI.
MAPI control would probably be your best hope if you wish to make your own Email program.
Am currently adding the same functionality to one of our products and went to planetsourcecode. Numerous examples, be sure to get one that includes attachments.
It is actually really easy once you get the hang of it. Off to kiwiland this evening so am going to work on it tonite, thinking maybe outlook could be opened as an object, not too sure if this is possible, but if so would be really hot will let you know what l discover.
If you want to be really cool you'll go read the IMAP4 RFC and have your program (using winsock) directly send and interpret IMAP4 commands. Assuming you are going to be using IMAP4, instead of cruddy old POP3. Also, if this is going to be a professional level app, you should be able to interpret the type of attachment and save it to disk if it's a regular file or if it's a embedded email you should have it recursively open up in your app.
IMAP4? Never heard of it. Im more familiar with winsock than the MAPI controls. Is there a way I can do it with winsock?
Not exactly sure what kl899 is talking about. But this link uses Winsock and sends mail, as it said it should.
http://www.vbcode.com/asp/showsn.asp?theID=619
Jethro,
Did you get this finished? I am curious how you made out. I just completed mine using the winsock.ocx. Did you use the Outlook or Winsock ocx or something completely different.
Quote:
Originally posted by Jethro
Am currently adding the same functionality to one of our products and went to planetsourcecode. Numerous examples, be sure to get one that includes attachments.
It is actually really easy once you get the hang of it. Off to kiwiland this evening so am going to work on it tonite, thinking maybe outlook could be opened as an object, not too sure if this is possible, but if so would be really hot will let you know what l discover.
Use MAPI control, and that works fine, but still caren't find a class or property that lists addresses from the current user's address book.
Have been caught up over the last few weeks in a fairly major project, which cuts down on time to spend hacking into code.:(:(
While we are on the subject, is there a way of sending an email with reminder using MAPI?
What d'ja mean 'wid a reminder'?
You can specify da text you want to send at run-time if dat is what you mean.
(Excuse me accent)
Geddit? You can't have an accent when you type.
AH, YOU'RE ALL SO LAME ANYWAY.
Just kidding.
Ok, in outlook you can schedule an appointment with the reminder pops up every 5 or 10 minutes, how do you do that in VB? Thanks!
I too am looking for a way to make an appointment and have someone recieve reminders through outlook in a vb app. If you find a way, please let me know.
O.K guys ..
What I am looking for is the opposit,
I was thinking of using a VB program as an IMAP server ...
lets assume that stroring sending and receiving emails is not an issue, just the listening to an IMAP request from the client and returning the information using IMAP protocols.
possible ?
Or does anyone know of a GOOD imap server that doesn't cost $200-$10000 ??? Linux or Windows
I am currently using mercury on win2000, but it has a huge memory leak .. I was trying to set an IMAP server on a Linux machine but you know Linux ... if you miss a ; somewhere it doesn't work .. well it doesn't work.