1 2 3 4 5 6 7 8 9 10 11 12 13 14
--$mimeboundary Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: base64 $textbody --$mimeboundary Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: base64 $htmlbody --$mimeboundary--