Pop up Email message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

objOMSession.outbox.Messages.Add

This line will add a message to your Outbox and send it automatically. How
do you program the submit button to Popup the email it is putting into the
Outbox and allow the user to hit send himself?
 
You'd need to do something like this:

Dim objItem As Outlook.MailItem
Dim objOutBox As Outlook.MAPIFolder

Set objOutBox =
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderOutbox)
Set objItem = objOutBox.Items.Add
objItem.Display

Set objItem = Nothing
Set objOutBox = Nothing
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top