The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

mailto Replacement (VB)

Hey everyone,

I have searched all over for another method to generically send an email message to the users defaukt client besides mailto.  mailto is flaky and can only handle text of small sizes (depending on the email client).

I have looked at MAPI and it seeems like it may work, but I wanted a generic solution to send an email (that already has content, HTML content if I can!) using the users default client.

I know I can make a component (or buy one) that will allow me to send from my app, but I want the default client to handle it since, it will be recorded as sent in their sent box and they are used to that interface.

Any ideas???? Thanks
Nick Koranda Send private email
Tuesday, July 26, 2005
 
 
If you are doing Vb.Net, devMail.Net can help. See http://www.devmail.net/ for download.
Jeff Send private email
Tuesday, July 26, 2005
 
 
The only two methods to use the local system's default mail client are mailto: and MAPI. Sorry, but that's it. Other techniques are specific to particular e-mail programs, such as Outlook scripting.

That VB library does not seem to address the problem; as far as I can tell, it just lets you directly communicate with another Internet site, bypassing the local e-mail client completely.
Chris Nahr Send private email
Wednesday, July 27, 2005
 
 
MAPI is the solution.

However, interfacing can be difficult, so the solution is to use the CDO object library which is a NICE interface to mapi. Here is a article on this:

http://msdn.microsoft.com/library/?url=/library/en-us/dnvbpj01/html/gs0103.asp

Albert D. Kallal
Edmonton, Alberta Canada
Kallal@ msn.com
http://www.members.shaw.ca/AlbertKallal
Albert D. Kallal Send private email
Wednesday, July 27, 2005
 
 
MAPI is indeed the solution.  Note that not all email clients are required to support MAPI.  Almost all of them do, though.
Chris in Edmonton Send private email
Thursday, July 28, 2005
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz