Richard Munroe - 2006-04-11 17:00:40
In htmlMail and htmlAttachment the generated content headers are mostly missing a newline between the Content-Transfer-Encoding line and the data.
Some SMTP servers seem to be smart enough to figure out the bad formatting and fix it, most don't seem to be. Unfortunately the one that I normally use in house WAS smart enough so I was pretty puzzled when the production code didn't work.
I was able to fix this problem my making slight modifications to htmlMail and htmlAttachment.
Dick Munroe