Munged formatting and line wrap (UPDATED)
Posted: Fri Nov 02, 2007 4:02 am
Heyya All,
First off, I did a little digging in the forums and found one item that seems to match my problem. It would seem that GPG messages (despite only being 65 character long lines) get munged all to hell by Swift. I tried the work around mentioned in the post concerning PGP/GPG to no avail, but was able to solve the problem by saving the message to a text file and putting it into the email as a text/plain attachment. Once done Swift did not try to reformat it anymore. This solution works, but adds unneeded extra info to the email as well as making it MIME which is just not needed.
Once getting through all that and focusing on the customer email that this script sends out, I realized all my nice formatting (again just plain text and spaces formatting) was completely messed up. My tables and formatting simply destroyed. I am starting to wonder if perhaps this has something to do with replacement or alteration of /n vs. /r/n or something to that extent. I would really like (perhaps i have missed it) a way to tell swift to not try to reformat the message body and to just leave it alone and assume I know what I am doing.
Any thoughts or ideas would be greatly appreciated.
Douglas Morris
First off, I did a little digging in the forums and found one item that seems to match my problem. It would seem that GPG messages (despite only being 65 character long lines) get munged all to hell by Swift. I tried the work around mentioned in the post concerning PGP/GPG to no avail, but was able to solve the problem by saving the message to a text file and putting it into the email as a text/plain attachment. Once done Swift did not try to reformat it anymore. This solution works, but adds unneeded extra info to the email as well as making it MIME which is just not needed.
Once getting through all that and focusing on the customer email that this script sends out, I realized all my nice formatting (again just plain text and spaces formatting) was completely messed up. My tables and formatting simply destroyed. I am starting to wonder if perhaps this has something to do with replacement or alteration of /n vs. /r/n or something to that extent. I would really like (perhaps i have missed it) a way to tell swift to not try to reformat the message body and to just leave it alone and assume I know what I am doing.
Any thoughts or ideas would be greatly appreciated.
Douglas Morris