Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to send javascript file as email attachment

Hotmail does not allow javascript files to be attached to emails , what are the reasons behind it ??

like image 677
user2284926 Avatar asked Jul 12 '13 16:07

user2284926


3 Answers

An easy way around this is just to rename the file with a .txt extension instead of the .js extension.

like image 99
mti2935 Avatar answered Sep 17 '22 19:09

mti2935


Email clients do not normally allow emails to be sent with any form of JavaScript because it could be used to install malware on the recipient's computer. There was a huge issue with older email clients because they did allow JavaScript. As a result anyone using those clients could fall victim to chain mail with malware "strapped on."

Nowadays you can open any email safely without worrying about downloading any viruses. You can, however, still get viruses by clicking on any links within the email that lead to malicious websites; so don't click on any email links unless you know they are safe.

like image 27
Jason Avatar answered Sep 17 '22 19:09

Jason


If you have a google account, you can zip the top folder and save it in your google drive, then share the Drive link.

like image 35
acmoune Avatar answered Sep 17 '22 19:09

acmoune