bobbimanners / emailler

Email and Usenet suite for the Apple //e or GS with Uthernet-II ethernet card
http://bobbi.epizy.com
Other
30 stars 5 forks source link

EMAIL: Handle multiline headers #62

Closed bobbimanners closed 3 years ago

bobbimanners commented 3 years ago

It would be very nice to be able to parse headers which are split over two lines (with a semicolon terminating the split line.)

Especially for the case where the MIME boundary is split across lines.

bobbimanners commented 3 years ago

Seems the rule is that a header line can be split on any whitespace by inserting CRLF then the whitespace. The breaking on a semicolon thing is just cos it is a convenient spot.

bobbimanners commented 3 years ago

Implemented a modification that can handle multiline 'Content-Type:' headers both in the email headers and in the email body.

This makes multipart MIME support work with a bunch of clients, such as Apple Mail, which love to split the CT header over multiple lines.

Fix checked into master, will be in next release.

bobbimanners commented 3 years ago

Released in 2.1.7