Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Email attachment

From Wikipedia, the free encyclopedia
Computer file sent along with an email

Anemail attachment is acomputer file sent along with anemail message. One or more files can be attached to any email message, and be sent along with it to the recipient. This is typically used as a simple method to share documents and images.

History, and technical detail

[edit]

Originally, ARPANET, UUCP, and InternetSMTP email allowed7-bit ASCII text only. Text files were emailed by including them in the message body. In the mid 1980s text files could be grouped withUNIX tools such as bundle[1][2] andshar (shell archive)[3] and included in email message bodies, allowing them to be unpacked on remote UNIX systems with a single shell command.

The COMSYS/MSGDMS system at MIT offered "Enclosures" beginning by 1976.[4][5] Users inside COMSYS could receive the enclosure file directly. Messages sent to users out of the COMSYS world sent the enclosure as part of the message body, which was useful only for text files.

Attaching non-text files was first accomplished in 1980 by manually encoding 8-bit files usingMary Ann Horton'suuencode, and later usingBinHex orxxencode[6] and pasting the resulting text into the body of the message. When the "Attachment" user interface first appeared on PCs incc:Mail around 1985,[7] it used theuuencode format for SMTP transmission, as didMicrosoft Mail later.

Modern email systems use theMIME standard, making email attachments more utilitarian and seamless. This was developed byNathaniel Borenstein and collaboratorNed Freed[8][9] - with the standard being officially released asRFC2045 in 1996.

With MIME, a message and all its attachments are encapsulated in a singlemultipart message, withbase64 encoding used to convert binary into 7-bit ASCII text - or on some modern mail servers, optionallyfull 8-bit support via the8BITMIME extension.

Size limits

[edit]

Email standards such asMIME do not specify any file size limits, but in practice email users will find that they cannot successfully send very large files across the Internet.

This is because of a number of potential limits:

  • Mail systems often arbitrarily limit the size their users are allowed to submit.[10]
  • A message will often pass through severalmail transfer agents to reach the recipient. Each of these has to store the message before forwarding it on, and may therefore also impose size limits.
  • The recipient mail system may reject incoming emails with attachments over a certain size.

The result is that while large attachments may succeed internally within a company or organization, they may not when sending across the Internet.

As an example, whenGoogle'sGmail service increased its arbitrary limit to 25MB it warned that: "you may not be able to send larger attachments to contacts who use other email services with smaller attachment limits".[11][12]

Also note that all these size limits are based, not on the original file size, but theMIME-encoded copy. The commonBase64 encoding adds about 37% to the original file size, meaning that an original 20MB file could exceed a 25MB file attachment limit.[13]A 10MB email size limit would require that the size of the attachment files is actually limited to about 7MB.

Users should be cautious with certain file formats when received as email attachments, such as.zip and.tgz files, because they can contain harmful viruses and potential software. .iso files can also be used to spread malware and.exe is an executable file that can become active on a computer as soon as it is opened.

Malware

[edit]
See also:Spamming

A lot ofmalware is distributed via email attachments with some even considering such to be the mainvector for cyberattacks on businesses.[14][15][16] Users are advised to be extremely cautious with attachments and to not open any attachments that are not from a trusted source and expected − even if the sender is in their address book as their account might have been taken over or misused.[14][17][18] While many email servers scan attachments for malware and block dangerous filetypes, this should not be relied upon − especially as such cannot detectzero-day exploits.[19]

Dangerous file types

[edit]

Email users are typically warned that unexpected email with attachments should always be considered suspicious and dangerous, particularly if not known to be sent by a trusted source. However, in practice this advice is not enough – "known trusted sources" were the senders ofexecutable programs creating mischief and mayhem as early as 1987 with the mainframe-basedChristmas Tree EXEC.

Since theILOVEYOU andAnna Kournikovaworms of 2000 and 2001, email systems have increasingly added layers of protection to prevent potentialmalware. Now, many block certain types of attachments.[20][21]

References

[edit]
  1. ^The UNIX Programming Environment, Kernighan and Pike, 1984, p.97
  2. ^"Unix tricks and traps".AUUGN.15 (4): 87. August 1994.
  3. ^Modern versions ofshar can deal with binaries, via uuencoding them, but this was not initially the case.
  4. ^"Jack Haverty, email to Header-People, 8 November 1976"
  5. ^"Feinler, Vittal: Email Innovation Timeline, 1 July 2022"
  6. ^"How do I use UUencode/BinHex/MIME support?", winzip.com.
  7. ^InfoWorld Media Group, Inc. (June 3, 1985).InfoWorld. InfoWorld Media Group, Inc. p. 41.
  8. ^Father of the email attachment, Patrick Kingsley,The Guardian, 26 March 2012
  9. ^"The MIME guys: How two Internet gurus changed e-mail forever "Archived 2012-01-25 at theWayback Machine, February 01, 2011, Jon Brodkin, Network World
  10. ^"Setting Message Size Limits in Exchange 2010 and Exchange 2007";
  11. ^"Google updates file size limits for Gmail and YouTube", geek.comArchived 2011-12-19 at theWayback Machine.
  12. ^"Maximum attachment size", mail.google,com.
  13. ^"Raw vs. Encoded Email Message Size — What's the Difference?".
  14. ^abMartin, Jim."Here's what you need to do to protect your PC from ransomware and NotPetya". Tech Advisor. Retrieved29 June 2017.
  15. ^"Truth on zero-day attacks". PCR. Retrieved29 June 2017.
  16. ^Aycock, John (2006).Computer Viruses and Malware. Springer.ISBN 9780387341880. Retrieved29 June 2017.
  17. ^Miller, Michael R. (2009).Microsoft Security Essentials User Manual (Digital Short Cut). Pearson Education.ISBN 9780768695298. Retrieved29 June 2017.
  18. ^Vermaat, Misty E. (2014).Enhanced Discovering Computers, Essentials. Cengage Learning.ISBN 9781285845531. Retrieved29 June 2017.
  19. ^"How To Spot A Dangerous Email Attachment". MakeUseOf. Retrieved29 June 2017.
  20. ^"Some file types are blocked", mail.google.com.
  21. ^"You may receive an "Outlook blocked access to the following potentially unsafe attachments" message in Outlook", microsoft.com.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Email_attachment&oldid=1245135051"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp