Edit Subject for every sent message

Status
Not open for further replies.

Pro

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
Hi there,

My employer has an add-in that sends email securely.

I am trying to get better at using it but I frequently forget to hit the right "Send Securely" button (since it is separate from the default Outlook Send button).

So I am looking for a way to automate this process. So far I see two options:

1) Is there a way to replace the default "Send" button in outlook with a different "Send Securely" button, so that every time I hit send it will go through this add-in?

OR

2) I discovered that if I put the words "{Secure Message}" in the subject line of any email I send, it will automatically be routed as a secure email. SO the other way of going about this is simply to add "{Secure Email}" to every message I send. It seems like this could be done via a Script rule... can anyone give me some help on this?

As a further step... I think all email sent within the company is already secure, so it would be nice to narrow the rule down a bit further to add this text to the subject line of emails sent only to people who are NOT within the corporation's domain... hope that makes sense.

Thanks for helping!!!
 

Pro

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
Thanks so much for the reply. I'm definitely a newbie at this, having never done an Outlook Script before! I think I will need a little more step-by-step instruction so I don't screw anything up.

I looked at the link you are referring to and it looks like the script posted is:

--------------
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)

If InStr(LCase(Item.Subject), "mail merge subject") Then

With Item
.Importance = olImportanceHigh
.ReminderSet = True
.ReminderTime = #10/30/2012 8:00:00 AM#
.FlagRequest = "Please reply by 10/30"

' to add an attachment, enter the path & name here
.Attachments.Add "D:\For merge\filename.docx"
End With
End If
End Sub

---------------
Can you modify this so that it is exactly what I need? It looks like a lot of the above language would not be necessary for my application.

Also, to the second part of my question, do you know how I would be able to exclude any messages sent internally?

Thanks again for your help!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Remove everything between the if... end if and replace with
item.subject = "keyword " & item.subject

then test it. to limit it to outside domains, you need to add an if... end if statement. I'm not sure the best way to do that, probably check the recipient collections for @ (internet addresses).
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Edit subject - and change conversationTopic - using VBA and redemption Outlook VBA and Custom Forms 2
D Edit Subject (Multiple Accounts) Outlook VBA and Custom Forms 5
R Edit Subject Line of Meeting Invitation? Using Outlook 1
A Edit attachment Save and Reply Outlook VBA and Custom Forms 0
F VBA code to dock Styles whenever I write or edit an email Outlook VBA and Custom Forms 0
J Edit auto-complete list in Outlook 2016+/365? Using Outlook 0
J Message search and edit, another way? Outlook VBA and Custom Forms 4
L Wierd Office 365 Contact unable to edit body of random contacts Using Outlook 5
N VBA Script to Open highlighted e-mail and Edit Message Outlook VBA and Custom Forms 5
S Unable to Edit Contact Information in Certain Contact Folders Using Outlook 3
S Outlook.com cannot edit some contacts Using Outlook.com accounts in Outlook 5
B My outlook calendar edit issue Outlook VBA and Custom Forms 0
D VBA to edit body of incoming email and forwarding it Outlook VBA and Custom Forms 11
Diane Poremsky Edit and Save Outlook's Read-Only Attachments Using Outlook 0
P "Edit Message" feature removed in Outlook 2016 for Mac Outlook VBA and Custom Forms 0
snissen Where is "Edit Message" in Outlook 2016? Using Outlook 2
P People/Contact Record gets deleted when I edit it? Using Outlook 3
C Edit/Create Pen Not Working Outlook 2013 Using Outlook 1
X Bulk edit Contact forms Using Outlook 2
A Contact address disappears when opened to edit Using Outlook 5
J Can invitee edit details? Using Outlook 1
G Outlook 2013: Cannot Edit default Holiday Calendar Using Outlook 2
V Custom form won't open for edit Outlook VBA and Custom Forms 3
M Bulk Edit contact notes BCM (Business Contact Manager) 1
M Any way to edit the message field on a 2010 Outlook Form? Using Outlook 3
S OL 2010 shortcut to edit received mail Using Outlook 3
A Cannot edit or open existing contact nor add new ones. BCM (Business Contact Manager) 1
T Exchange 2010: 'could not save item' and 'Unknown error' when edit calendars Exchange Server Administration 1
M Outlook 2003: Cannot edit default Contact Form Using Outlook 11
S how can i edit email address/es from the from field Using Outlook 5
M How to edit a monthly calendar to remove the cover page Using Outlook 1
S How do I edit an attachment in an invite without notifying the attendees? Using Outlook 2
B Notice to user of appt. set by person with permission to edit (Outlook 2003) Using Outlook 7
H Edit email message Using Outlook 7
F Text Format Change - Bulk Edit Contact Notes Using Outlook 2
T Unable to edit Distribution Group membership via Outlook (works via ECP). Exchange Server Administration 7
D How do I edit a macro in Outlook? Outlook VBA and Custom Forms 1
E Currency Edit Control on custom Taskpanes Outlook VBA and Custom Forms 1
E Currency Edit Control on custom Taskpanes Outlook VBA and Custom Forms 1
A edit right pane of mail Outlook VBA and Custom Forms 15
S Correct way to Identify is Mail is opened in Edit Mode Outlook VBA and Custom Forms 1
A Macro to file emails into subfolder based on subject line Outlook VBA and Custom Forms 1
N Save selected messages VBA does not save replies and/or messages that contain : in subject Outlook VBA and Custom Forms 1
V vBA for searching a cell's contents in Outlook and retrieving the subject line Outlook VBA and Custom Forms 1
C Macro to extract sender name & subject line of incoming emails to single txt file Outlook VBA and Custom Forms 3
diver864 vba for a rule to automatically accept meeting requests with 'vacation' in subject, change to all-day event, change to free, don't send reply Outlook VBA and Custom Forms 1
R Disable conversation thread from replying of recipients in the same subject. Please help Using Outlook 0
M Outlook 2013 Script Assistance - Save Opened Link with Subject Added Outlook VBA and Custom Forms 1
C How to rename subject line and forward the email Outlook VBA and Custom Forms 2
B Add Prefix text to Subject Line Using Outlook 1

Similar threads

Top