
#Cryptext on everytime for certain emails code#
You can then assign the ItemAdd method to each of them like: Private Sub mainInboxItems_ItemAdd(ByVal item As Object)Īll this code can go in ThisOutlookSession. WHAT MATTERS Simply the most private way to email Advanced email security and privacy like never before. On the opposite side of receiving automatic replies, maybe you want to send your own. Check the box for Enabled, optionally check the box to not apply other rules, and click OK. We don‘t have access to your emails nor do we store them in our servers. Under Do the Following, pick Display Dialog and click Display Message. You can do this for as many folders as you want, too. Criptext is an encrypted email service that guarantees security, privacy and control over all your email communications.

'otherwise you can nest Folders("myArchive").Folders("AssignNumber).items etc 'assumes your "AssignNumber" folder is a subfolder of the main inbox You can solve this in the Trust Center: Go to File Menu. 2) Outlook is having trouble downloading external images from the emails. Make sure this url is not blocked in your firewall. Set mainInboxItems = objNS.Folders("whatever your main mailbox is called").Folders("AssignNumber").Items This can have 2 causes: 1) Outlook is contacting, this sometimes happens when Gmail users send mail to Exchange mailboxes. You can create a listeners for an Outlook folder as follows: Private WithEvents mainInboxItems As Outlook.Items

Since you want to run this on each message setting up WithEvents on your inbox is probably your best bet. This gives you easy and clear access to the mail item you receive. I specifically use a script I run as a rule, applied to all messages.
