How to implement sending files via email?

Plan to raise mail server. Finding the information revealed a lot of data (more on this in the next question), but it is clear that different mail servers and clients transmit mail via SMTP. But smtp does not support sending files (text Protocol), and the results of the reading mail, too, with files poorly (don't know the POP3, but IMAP seems to crutches). And then how can I send file with mail in Outlook and get on Yandex.Email or how can I send a file from Gmail to Outlook. How to implement a file transfer in mail services?!
April 7th 20 at 11:08
3 answers
April 7th 20 at 11:10
Start with this article

If very rough, then binary files are encoded in text strings, and the program decodes them back.
However the postal service has its own extensions, including the crucial this problem.
In General, the topic is extensive, but hardly interesting for the specialist, I just ran diagonally to have an idea
April 7th 20 at 11:12
But smtp does not support file transfer

Even as support :) You think, "KrasAvia" letters which "typeset" gifted people - they are transmitted in some mysterious way?
MAP like with crutches

Wrong. There are no crutches. Millions of people around the world receive and transmit files via smtp/imap
April 7th 20 at 11:14
Non-text data is encoded in the format of base64, which is specified in the message header or parts of a multipart message
Content-Transfer-Encoding: base64

Find more questions by tags E-mail