Question
CFMail Attachment Issue (410 character limit)
My company is in the process of upgrading from CF5 to CFMX7
(v7.0.2). While testing the new version our test environment, I've
discovered an issue (that didn't exist in CF5) regarding email
attachments. I've scoured the internet looking for users who might
have run into this issue and haven't found any.
Here's the problem that shows up when using CFMX7. Emails that have attached files that have lines of code that are longer than 410 characters per line have the lines broken apart with a newline character.
So for example if code in a file originally looked like this,
<font face='courier new' size=-2>
 LIFE MED (line continues out to over 600 chacters)...
</font>
The received file would have code that looked like this,
<font face='courier new' size=-2>
 LIFE MED (line continues out to just 410 chacters, then breaks to a new line)...
bsp;  LIFE
</font>
Notice that the non-breaking space characters starting the second line have been chopped off.
This causes an issue because the files we are attaching to the emails are bills (formatted in html) that uses a lot of non-breaking space ( ) characters for formatting purposes. Most of the lines of code are greater then 410 characters wide, and once the the characters start to get broken apart, they end up displaying in a browser.
Things I've tried that haven't helped.
1) Changing the Default CFMail Charset from UTF-8 to US-ASCII
2) Using the cfmailparam tag instead of the mimeattach attribute
3) Applied hot fix hf702-65414 (which was for an issue regarding email spooling)
Does anyone know how I would prevent the line break issue in CFMX7?
I figured I'd ask around in a few newsgroups before we started spending money on support from Adobe.
Thanks,
Wayne Barca
Here's the problem that shows up when using CFMX7. Emails that have attached files that have lines of code that are longer than 410 characters per line have the lines broken apart with a newline character.
So for example if code in a file originally looked like this,
<font face='courier new' size=-2>
 LIFE MED (line continues out to over 600 chacters)...
</font>
The received file would have code that looked like this,
<font face='courier new' size=-2>
 LIFE MED (line continues out to just 410 chacters, then breaks to a new line)...
bsp;  LIFE
</font>
Notice that the non-breaking space characters starting the second line have been chopped off.
This causes an issue because the files we are attaching to the emails are bills (formatted in html) that uses a lot of non-breaking space ( ) characters for formatting purposes. Most of the lines of code are greater then 410 characters wide, and once the the characters start to get broken apart, they end up displaying in a browser.
Things I've tried that haven't helped.
1) Changing the Default CFMail Charset from UTF-8 to US-ASCII
2) Using the cfmailparam tag instead of the mimeattach attribute
3) Applied hot fix hf702-65414 (which was for an issue regarding email spooling)
Does anyone know how I would prevent the line break issue in CFMX7?
I figured I'd ask around in a few newsgroups before we started spending money on support from Adobe.
Thanks,
Wayne Barca