How to prevent users sending emails without subject entered in Outlook?
While you send an email through Outlook, in some times, you can send emails without subject entering which maybe is not a good habit. Is there any way to force users to send email with a subject in Outlook?
remove all duplicate contacts from one or multiple contacts folders in outlook
|In sometimes, we may repeatly add the same contacts, how can remove the duplicate contacts from one or multiple contacts folders? Kutools for Outlook's Duplicate Contacts function can quickly remove or merge duplicate contacts based on emails, full name or other criteria from one or more contacts folders . Click for 45 days free trial!|
|Kutools for Outlook: with dozens of handy Outlook add-ins, free to try with no limitation in 45 days.|
Office Tab: Enable Tabbed Editing and Browsing in Office, Just Like Chrome, Firefox, IE 8/9/10.
Classic Menu: Bring Old Menus and Toolbars Back to Office 2007, 2010, 2013, 2016 and 2019.
There is no way except VBA code to solve this problem.
1. Enable Outlook, press Alt + F11 keys to open Microsoft Visual Basic for Applications window.
2. Double click ThisOutlookSession in the Project1 pane, then copy and paste below code to the blank script.
VBA: Prevent sending email without subject
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean) 'UpdatebyExtendoffice20180511 Dim xObject As Object On Error Resume Next If Item.Class <> olMail Then Exit Sub Set xObject = CreateObject("VBScript.Regexp") With xObject .Global = True: .Pattern = "^\x20*$" If .test(Item.Subject) = True Then MsgBox "No subject entered", vbInformation, "Kutools for Outlook" Cancel = True End If End With End Sub
3. Save the code, now if the email you send without subject, it will pop out a dialog to remind entering subject.
Note: This VBA code work for all accounts in Outlook
Recommended Productivity Tools
- Complicated and repeated operations can be done a one-time processing in seconds.
- Forward multiple emails individually with one-click, and auto forward by rules.
- Auto CC/BCC every sending email and easy for customizing rules, and auto reply without requiring exchange server.
- Powerful junk emails filter, remove duplicate emails, reply with attachment, bunch of one-click operations, and so on...
- 60-day unlimited free trial. 60-day money back guarantee. 2 years free upgrade and support. Buy once, use forever.