Opally
08-23-2007, 07:17 PM
I'm getting "500 Line too long" errors from our own mail server for some MIME::Lite prepped email from forms.
this is the code I see in my mail log:
Content-Disposition: inline
Content-Length: 3201
Content-Transfer-Encoding: binary
Content-Type: text/html
I tried adding
Encoding => 'quoted-printable'to my MIME::Lite->new statement, but it is illegal to use quoted-printable with multipart/alternative.
Ideas about why the HTML code for the email is all strung out in one line, and how to prevent that in the HTML code itself? I've talked to our local mail server admins, and they feel that 1000 char lines should be sufficient, I don't blame them.
---Opally
this is the code I see in my mail log:
Content-Disposition: inline
Content-Length: 3201
Content-Transfer-Encoding: binary
Content-Type: text/html
I tried adding
Encoding => 'quoted-printable'to my MIME::Lite->new statement, but it is illegal to use quoted-printable with multipart/alternative.
Ideas about why the HTML code for the email is all strung out in one line, and how to prevent that in the HTML code itself? I've talked to our local mail server admins, and they feel that 1000 char lines should be sufficient, I don't blame them.
---Opally