As a programmer in a large corporation, I often send Outlook emails containing sample code.
I actually type the code directly in the email. This inevitably causes problems, because Outlook really likes to format text in a pleasant, but useless way. My code must be copied from email and directly to the code, so I do not want Outlook to enter it by adding special characters or anything else.
Therefore, I always need to configure parameters such as:
- Do not use the first letter of each sentence (otherwise all my functions will be P public instead of p public)
- Disable smart quotes (fancy quotes do not copy + paste from emails is good)
- Never use spell checking (because it is just annoying).
I also like that my code is in a monospaced font, black, indented and smaller than in other text. I tried to create a style for this, but for some reason the style never saves. :-( [edit: it turns out, I did not tell him to work on "new documents based on this template"]
Is there a way to put code in <pre> blocks or something that tells Outlook to ignore all of these rules and format the code the way I want? If not, what methods did you find to send snippets of code in your Outlook mail messages without getting too annoying?
outlook outlook-2007
Mag Roader Jul 19 '09 at 23:22 2009-07-19 23:22
source share