Medic3000
Medic3000

Reputation: 786

Programatically create & send outlook email WITH a visual email popping up on screen

I want to be emailing with a Outlook add-in, I've followed as a previous user did:

Trying to Programmatically Create & Open a new Outlook Email

To create said email, but What if anything can I do to make it so outlook doesn't have this email pop-up on screen, and just sends it.

MailItem doesnt seem to have any kind of .Visible attribute that I'm aware of.

Is there a way to "hide" the Email? My add-in is set to a timer so it's sort of annoying for my system to pop up an email window on me every 30 minutes :/

Upvotes: 0

Views: 150

Answers (1)

Daniel Hilgarth
Daniel Hilgarth

Reputation: 174279

Well, if you don't want to display the email, don't call Display. Call Send instead.

Upvotes: 1

Related Questions