Check for words in subject header before sending email

Status
Not open for further replies.

AuntyJean

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
We have to ensure that every email we send contains [SEND SECURE] within the subject header to ensure it is encrypted due to GDPR and DPA.

I have tried the following but it pops up with message whether or not the email contains the words.

1535481519818.png


Any suggestions please?
 

AuntyJean

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Thanks for reply. Tried it and it works but only if [SEND SECURE] is the only text in the subject header. I need it to search the entire subject line for the words "[SEND SECURE]" and only pop up if not found within the words within the subject header line.

(PS ignore the Prompt$ message, it now reads, "Email not encrypted. Do you still want to send?")
 

AuntyJean

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Thank you so much.

New code works and, it ensures upper case is relevant (if in lower case not recognised as encrypted)

Very much appreciated. My Director is especially pleased.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
M Can one teach the Junk filter to check for entire words, not substrings? Using Outlook 1
K Removing words from the Spell Check Dictionary on Outlook 10 Using Outlook 2
L Check sent email and reply if have specific words Outlook VBA and Custom Forms 2
L Spell-check dictionary confusion Using Outlook 0
S How to export urls from email to excel and check the status of the url ? New Slipstick.com Articles 6
N Private check box in table view Using Outlook 0
S Outlook to check for specific text Outlook VBA and Custom Forms 3
C Custom Outlook Form - Populate Information from Radio Button / Check Box Using Outlook 0
O Outlook 2016 This rule will only run when you check your email in Outlook.... Using Outlook 4
R Using "check for duplicates" for existing contacts Using Outlook 2
P Suppress dialog box on email check error? Using Outlook 5
Potty Ash MS Outlook 2010 custom form - validation or formula to request user to check a checkbox Outlook VBA and Custom Forms 16
I Check if sent email has been replied Outlook VBA and Custom Forms 1
K adding more rules to 'different domains check' macro Outlook VBA and Custom Forms 2
R Macro to check file name with outlook address book Outlook VBA and Custom Forms 0
Diane Poremsky Check Contacts before moving them to Hotmail Contacts folder New Slipstick.com Articles 0
Diane Poremsky Check for missing attachments before sending a message New Slipstick.com Articles 1
R Outlook 2010 Modify Style "Do not check spelling or grammar" not saving Outlook VBA and Custom Forms 0
K check for sender, follow to my personal adress and delete the sent folder. Outlook VBA and Custom Forms 1
J Send and Receive Button - only check default account? Using Outlook 1
A Check for attachment code not working Outlook VBA and Custom Forms 1
Diane Poremsky Check Message Size Before Sending New Slipstick.com Articles 0
B Check for different domains macro to be triggered by specific domains only Outlook VBA and Custom Forms 2
V Check/convert to emailaddresses Outlook VBA and Custom Forms 11
JorgeDario how to check a MailItem has a digital signature (SMIME) with vba? Outlook VBA and Custom Forms 1
O Unable to check name. Using Outlook 3
R Outlook Custom form check if there an attachment Outlook VBA and Custom Forms 2
L Trying to check for the absence of mail. Outlook VBA and Custom Forms 1
S Check if two organisition is added then i have to give managers passward creteria to send mail Using Outlook 1
Peter H Williams check for new email automaticlly Using Outlook 12
C Unusual Signature & Spell Check Query Using Outlook 1
M Calendar navigation displays previous field records.check calendar is shared.. Using Outlook 3
A Can Rule Check Category Contact is assigned? Using Outlook 1
T Outlook 2007 forms: Check boxes and free text boxes not retaining data Using Outlook 1
L check if send message appears in SendItems forder before moving Using Outlook 0
C Create a rule to only check new content in email - disregard original content Using Outlook 3
M Outlook Rules check for new line character Using Outlook 1
S Individual Mailbox Check Exchange Server Administration 3
D Inserting check boxes in task requests Outlook 2007 Using Outlook 2
L OWA 2010 Don't want to Spell Check Signature Using Outlook 2
K how to check the exchange server is health or not Exchange Server Administration 2
M spell check in French. Using Outlook 2
A how do I find my second Email account to to check my mail Using Outlook 1
J .TIF Attachments will not open. Error: "Unable ot open document. If this is a Web document, check y Using Outlook 3
E Outlook 2010 won't check for email. Using Outlook 2
P Spell check greyed out in Outlook 2010 Using Outlook 2
B In Contact Properties of Outlook 2010, it does not allow me to check the check box " Show this folde Using Outlook 2
B Re: In Contact Properties of Outlook 2010, it does not allow me to check the check box " Show this f Using Outlook 2
P Outlook deletes my email account passwords even when I check 'save password' box Using Outlook 2
I How can I check the status of Public Folder Replication on Exchange 2010? Exchange Server Administration 13
Similar threads


















































Top