Can I add a custom “Send” button to Outlook?

2019-04-04 07:49发布

I'm creating a secure message alternative to email for my organization. We exchange confidential patient information with outside treatment providers. To protect privacy, we cannot use email for this purpose.

Rather than force the users here to use whole new inbox, outbox, and authoring interfaces in addition to the Outlook/Exchange email they're used to, is it possible for me to simply add a "Send Secure" button that will direct their message to my custom service rather than the email server?

Microsoft Outlook With New Button http://img38.imageshack.us/img38/5140/newbutton.gif

I've never created an add-in for an Office application. Is it possible to do this? How should I get started?

6条回答
走好不送
2楼-- · 2019-04-04 07:58

Why not catch the BeforeCheckNames event and then display a dialog asking the user if this message contains confidential information?

查看更多
聊天终结者
3楼-- · 2019-04-04 08:00

A simpler way could be, sending the message which contains the link to the secured content on your website.

This will avoid the need of creating an addin/accidentally hitting "send" instead of "send secure".

EDIT: I mean, even if you send the email by accident, there won't be anything in it other than some instructions with a link

e.g. myopenid.com/username/patientReport?id=xxxxxxxxxxxxxxxxxxxxx

When clicked, user could be prompted to log in & see the details.

EDIT2: Yes I know, I am moving away from the topic of creating an outlook addin. But why go a difficult way, when a simpler solution can be derived? :)

查看更多
▲ chillily
4楼-- · 2019-04-04 08:03

You absolutely can. You can use VSTO to do it. Here is an example of adding a context menu item to folders, but adding a button is very similar exercise.

查看更多
爷的心禁止访问
5楼-- · 2019-04-04 08:11

I know this doesn't answer you question, but I would argue that you should not do this even if you can. It seems, to me, that this approach just makes it easy to accidentally send sensitive information over regular email. It will be easy for users to accidentally click the regular send button because it is right next to the "send secure" button. Even if you put them on opposite sides of the window from each other, the user is quite likely to click regular send out of habit. Unless you can programatically detect that information is sensitive and needs to be sent securely, I think the users should be forced to use a separate application so that they are conscious of the sensitivity of their communication at all times. Even if you could detect sensitive info automatically (I wouldn't think you could easily) it would be better to keep users in the habit of securing their communication.

Clippy http://img132.imageshack.us/img132/1707/clippy.gif

查看更多
smile是对你的礼貌
6楼-- · 2019-04-04 08:16

Yes you can do this, by redesigning the outlook Message form in Tools > Forms > Design a Form. There you can select the Message Form and buttons to the message form.

You will have to write some VBA or assign and action on the click event to do your secure send or insert you service URL etc. You can the save and publish the form. User can then select the new "Secure" Message form or you can overwrite the default form in your organisation so that every time a user select new mail they use the form.

Overwrite a default forms:
Form Design Example:

Also there are many addins for outlook that secure email:

VSTO may also be a way to go, if you design an addin that added a toolbar to the inspector (mail) window that inserted your url to your secure service say via small winform that looked up that patient by name id etc. (there are loads of examples on the net for this)

Marcus

查看更多
闹够了就滚
7楼-- · 2019-04-04 08:21

Sounds like you might be better off creating a custom MAPI Service Provider, and then connecting Outlook to it. That should give you a (relatively) clean programming model to follow without having to worry about messing with the Outlook UI... and also help avoid problems caused by users accidentally clicking the wrong button!

查看更多
登录 后发表回答