Groups | Blog | Home
all groups > vb.net controls > november 2006 >

vb.net controls : Outlook Express



Steve Arndt
11/17/2006 9:56:50 PM
Anyone have code on how to get an Outlook Express new message dialog window
to pop up? And how to set the fields, attachment, and send.

Thanks

Ken Tucker [MVP]
11/19/2006 11:50:01 AM
Hi,

Outlook express does not support automation. You can use the
mailmessage class to send emails. The other option is to use
process.start("mailto:you@yourdomain.com"). Mailto will open the default
mail client. It does not support adding attachments.

http://msdn.microsoft.com/workshop/networking/predefined/mailto.asp

http://msdn2.microsoft.com/en-gb/library/system.net.mail.mailmessage.aspx

http://msdn2.microsoft.com/en-us/library/system.web.mail.mailmessage(VS.80).aspx

Ken
-----------------------------
[quoted text, click to view]
Steve Arndt
11/19/2006 9:54:45 PM
Thanks...

I discovered after I sent the e-mail to the newsgroup that Outlook Express
didn't have automation. I used SMTP procedure instead.

Steve

[quoted text, click to view]

AddThis Social Bookmark Button