How to get Outlook send email form from vb.net?

  • Thread starter Thread starter Eric Peterson
  • Start date Start date
E

Eric Peterson

I need to pop up the send email form from Outlook. I
also need to populate the to field, but obviously the
user will type the message and hit 'SEND'. How can I do
this? I've been through various examples, and they're
all about automating email within vb, I only want to
automate 1/2 the process. Thanks for help.

Eric
 
Eric,
Have you tried displaying the Outlook.Mailitem after you have created it &
doing your 1/2 of the process?

Something like:

' Using the Outlook 2003 PIA
Imports Outlook = Microsoft.Office.Interop.Outlook

Dim appOutlook As New Outlook.Application
Dim item As Outlook.MailItem =
appOutlook.CreateItem(Outlook.OlITemType.olMailItem)
item.Subject = "Please finish this message!"
item.Body = "This space needs something meaningful!"
item.Display()

Hope this helps
Jay
 
Back
Top