I’m not really sure where or when it started, but over the last couple of years I started taking a strong preference to plain text communications. Perhaps it’s an increased amount of time spent on Usenet newsgroups (I’m still waiting for Panic to release a substantive update to Unison!), or perhaps its due to the annoyance of HTML e-mail that include more pictures than text; I don’t know. In any case, I set my e-mail client (Mac OS X’s Mail.app) to use plain text by default when composing messages, and I used the “hidden” preference to show the plain text alternative for messages when it’s available:
defaults write com.apple.mail PreferPlainText -bool TRUE
So that’s all well and good, but what I’ve noticed is that Mail.app seems to “ignore” some of the line endings in my message. It primarily only happens in signatures; I haven’t noticed it happening in the body of the message. At the same time that I adopted plain text messages, I also adopted the “standard” signature delimiter of two dashes and a space, so my signature will typically look something like this:
-- (hidden space at the end here)
Scott
What happens is that Mail.app turns it into this:
-- Scott
What in the world? Why is Mail.app playing with my signature? I’ve also noticed that in my longer signature—where I include my official title, phone numbers, company name, etc.—that Mail.app plays with the line endings there as well.
It also seems that this may be somehow related to Exchange Server 2007, as it only seems to happen to messages sent through my corporate Exchange infrastructure (I use IMAP and SMTP for connectivity to Exchange). I can’t find a single instance of an e-mail message where this has happened with any of my other non-Exchange e-mail accounts. But this doesn’t really make much sense, because the message I’m seeing is the local copy after it is submitted via SMTP. Perhaps the way in which Mail.app interacts with the SMTP server affects how the message in the Sent mailbox looks? I don’t know.
This is really irritating. If I type something, Mail.app (or Exchange Server) should NOT be going back and changing what I type. Anyone have any clue what could be going on here, or how I might fix it?


7 comments
Comments feed for this article
Trackback link
http://blog.scottlowe.org/2008/08/16/plain-text-messages-with-mailapp/trackback/
Saturday, August 16, 2008 at 10:12 am
joe
Not sure if this helps at all, but … is it possible that the copy you’re seeing in your local Sent folder is the message replicated from the Exchange server over IMAP? Have you tried this using POP instead? (realize this might not be feasible)
Saturday, August 16, 2008 at 12:21 pm
slowe
Good thought, Joe, but in this case the option to “Store Sent messages on server” (which would create the configuration you describe) is unchecked. The sent messages are stored locally. I can’t try POP3 with the corporate Exchange infrastructure because POP3 isn’t allowed.
Tuesday, August 19, 2008 at 1:05 am
Tony Chung
Does the exchange server have a setting to “remove extra line breaks in text messages” turned on? Outlook has that setting, which removes extra space and that’s irritating. I finally got smart and turned it off.
Tuesday, August 19, 2008 at 5:56 am
slowe
Honestly, I don’t know. The Exchange infrastructure is in our corporate office and handled by internal IT, so it’s out of my control. It would great if the solution were something as simple as that!
Tuesday, August 19, 2008 at 10:53 am
dcs
Do you see the signature mangled in your Sent Items? Or is it mangled in replies from other people?
It sounds like Outlook, not Exchange, doing the unrequested editing, which it does by default with plain text messages. See http://support.microsoft.com/kb/287816
Tuesday, August 19, 2008 at 11:18 am
slowe
The signature is mangled in my Sent Items, so it seems unlikely that it’s Outlook. Thanks, though!
Monday, November 24, 2008 at 12:29 am
Achim
It’s not only in the signatures happening, it’s also in lists like:
1. blablurp
2. blablurp
3. blublarp
which appears to be in the recipient’s inbox like:
1. blablurp 2. blablurp 3. blublarp
This is a bad behaviour for minutes etc. - so I’m wrting in BBEdit, addind hard wraps, and paste it into Mail.app.
Annoying.
So, if anyone has a clue it would be very helpful!