devxlogo

Remove vbs Attachments in Outlook

Remove vbs Attachments in Outlook

Home users of Outlook must create a new form and make it the default form for their Inbox. This code removes any attachments with vbs in the filename on incoming mail and stops any outgoing mail with a vbs attachment and must be pasted into the new form using the script editor. This should only be used for processing incoming e-mails as the vbscript may cause concern for recipients.

 Function Item_Read()	dim lngCounter	lngCounter = 1	Do While lngCounter 
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist