Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
JS96182599y@Linux it's not stupid that I don't receive any email from gmail that my email has been blocked? -
Linux429859y@JS96
It is not stupid that you are blocked when you are trying to send a .js file via email!
But a notification would be nice. -
JS96182599y@Linux I'm trying to send a ".rar" which contains hundreds of files (".html", ".php", ".png", etc) and 1 ".js"...
It's an archive, there isn't any risk that the browser will launch the ".js" script automatically... :\ -
Linux429859y@JS96
You know that js files is the most common type which delivers cryptoware?
Just send a Link to dropbox where your friend can Download it -
ste0910199yI still miss the reason why sending a .js file inside an archive is super bad, but sending a dropbox link pointing to the very same file is absolutely good.
The only reason why Gmail blocks that is to avoid being accused in case of accident -
The fix is simple. Rename the file to .Txt and it sends it like nothing happened. 😂
-
JS96182599y@tahnik I had to send the source files to a client.
@Linux if the .js is in an archive, it won't be loaded by the browser automatically!
If I download the archive, the responsability is mine.
What changes between downloading it from gmail and dropbox? Nothing... -
Put a password on the rar and it won't scan and block it.
At least I have done this in the past (not recently) -
aiskander839yPut a password on the archive and encrypt file names as well.
Also I think sending source code over email is not the best approach, as your email may be blocked for other reasons as well like if the attachment size is too big. I prefer using Dropbox or GitHub -
I was wondering, compression is meaningless in email, being converted to 7bit.
How about a really old compression format, like lha or arj, does Gmail ever scan those?
Related Rants

Shit happens... but never let your shit go to far... specially while in production or drunk.
This should be in every email client ever, always. Now. And forever.
My clients be like
Fucking gmail... why I can't send a ".js" file which is inside a ".rar" archive???
Ok, I understand the security reason, but only if I try to send directly a ".js" file, why you're blocking it also if present inside an archive?
And if I use outlook to send an email to gmail, I don't even receive any notification that my email has been blocked... it's fucking stupid!
undefined
gmail
shit