Home All Groups Group Topic Archive Search About
Author
20 Oct 2005 7:31 PM
PC
using vb6.0
is there any way i could put a message in outlook express's outbox
the message would be in a file with the .eml extension, and contain valid
..eml

Author
20 Oct 2005 8:42 PM
Ken Halter
"PC" <On***@pandora.be> wrote in message
news:%23H55lUb1FHA.1252@TK2MSFTNGP09.phx.gbl...
> using vb6.0
> is there any way i could put a message in outlook express's outbox
> the message would be in a file with the .eml extension, and contain valid
> .eml

Here's code that'll send an email using the default email client. Outlook
Express doesn't expose itself to automation and tons of people don't even
use it so sending to "the default" makes sense.

Sending Simple Email from VB 6.0 Program with default template
http://groups.google.com.my/group/microsoft.public.vb.controls/browse_frm/thread/fd7efef2b4a34c46

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
21 Oct 2005 12:28 AM
Ari
Hi!,


Ken Halter wrote:
Outlook
> Express doesn't expose itself to automation and tons of people don't even
> use it so sending to "the default" makes sense.
>

Bryan Starbuck who is the development leader of Outlook Express
explicitly says at:
http://www.google.com/url?sa=D&q=http://spaces.msn.com/members/bryanstarbuck/Blog/cns!1psJjwgBAsV-Ph1H_Wpa4AUg!259.entry

"Public APIs: OE has always had the public IStoreNamespace API to allow
the database content to be accessed."

And if you are searching for a sample code you can download it at:

http://www.codeproject.com/com/Outlook_Express_Messages.asp?df=100&forumid=139230&exp=0&select=1108642
http://www.nektra.com/products/oeapi/Outlook_Express_Messages_src.zip


Regards,
Ari