If this is not an appropriate forum for this question I apologize and ask that someone point me to the right place.
I am creating my own MIME formatted email from a web page (php). When I send it to myself it looks fine. However, when I send it through a 'Mailman' mailing list it rejects the email with an error that says it is unparsable. I have been told this is because of an ill formed MIME message. Since this is my first attempt at generating MIME I am not surprised.
In any case I am posting a shortened copy of the raw headers excluding the routing stuff. Can someone see what I am doing wrong? TIA.
I am creating my own MIME formatted email from a web page (php). When I send it to myself it looks fine. However, when I send it through a 'Mailman' mailing list it rejects the email with an error that says it is unparsable. I have been told this is because of an ill formed MIME message. Since this is my first attempt at generating MIME I am not surprised.
In any case I am posting a shortened copy of the raw headers excluding the routing stuff. Can someone see what I am doing wrong? TIA.
Code:
MIME-version: 1.0
Content-type: multipart/mixed; boundry="!!!---===123_4567_890===---!!!"
--!!!---===123_4567_890===---!!!
Content-Type: text/html; x-unix-mode=0644; name="application.html"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; name="application.html"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Application for Employment</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body><br><br>
<html><head><style type="text/css"><!--body,p,div,span,td,input,textarea { font-family: "Times New Roman", Times, serif; font-size: 10pt;}h4 { page-break-before: always;}--></style></head><body onLoad="window.resizeTo(770,920)"><h2 align="right">test, test test</h2>
.
etc, etc, etc
.
</body></html>
--!!!---===123_4567_890===---!!!
Content-Transfer-Encoding: base64
content-type: application/msword; name="IT Labels.doc"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAKwAAAAAAAAAA
EAAALQAAAAEAAAD+////AAAAACoAAAD/////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
.
etc, etc, etc
.
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA
--!!!---===123_4567_890===---!!!--