You cannot send this type of attachment from Gmail after February 13
Come February 13, and millions of Gmail users across the world will not be able to send ‘.js’ files as attachments. The search giant Google announced this on its G Suite Updates blog. According to the company, ‘.js’ files are increasingly being used to spread malware.
“Gmail currently restricts certain file attachments (e.g. .exe, .msc, and .bat) for security reasons, and starting on February 13, 2017, we will not allow .js file attachments as well. Similar to other restricted file attachments, you will not be able to attach a .js file and an in-product warning will appear…,” said the company in the blog post.
The blog post also mentions that for inbound mails, the senders will be receiving a bounce message explaining them why the mail was blocked and was not sent.
The blog further adds that those who really need to send ‘.js’ files can use Google Drive, Google Cloud Storage, or other storage solutions to share or send their files.
Safe Emailing. Enjoy!