What do the numbers in a multi-part email mean?

I am looking at the source of a multicast message from Thunderbird (hoping to write my own multicast message from C ++ / Javascript)

I was wondering what the following means (the part between the text part and the html email part) and how I can calculate it for my own program for creating a multi-part email:

This is a multi-part message in MIME format.

------=_NextPart_32252.1057009685.31.001
Content-Type: multipart/alternative;
    boundary="----=_NextPart_32252.1057009685.31.002"
Content-Description: Message in alternative text and HTML forms


------=_NextPart_32252.1057009685.31.002

(as seen here )

The rest of the message code makes sense for the message part.

+3
source share
2 answers

, , - ( RFC - ).

, .

RFC 2046:

5.1.

, , "multipart" . , a ...

,     , .     ,     ...

...

5.1.1.

Content-Type , "". , ( "-", 45), Content-Type , CRLF.

...

..     , ,     .    [ ] ,         ,    ....     - - "---",     "-----".

+15

. , . , .

+3

Source: https://habr.com/ru/post/1707206/


All Articles