Composer Page

General

Automatically insert signature

If checked, your signature as defined in the identity page is automatically included at the end of all messages you create (i.e. new messages, replies, etc.).

Use smart quoting

If checked, KMail will break long lines but will try to keep the correct quoting (e.g. the > will always be at the start of the line).

Only quote selected text when replying

If checked, KMail will quote only the selected text in the message window, instead of the complete message, when replying. With this, it is possible to quickly generate replies that quote only the relevant paragraph to which you are actually replying, and omits the other paragraphs that are not relevant to the context.

Remove the signature when replying

If checked, KMail will remove the signature from the quoted text when replying to a message. This is useful since it reduces the amount of quoted text, which makes it easier to read the reply.

Automatically request message disposition notifications

If checked, OptionsRequest Disposition Notification will default to on. Check this option only if you know what you are doing. MDNs are considered a nuisance (or are simply ignored) by a lot of people. It is better to decide to request them on a message-by-message basis.

Word wrap at column

Lets you turn word wrapping on and off in the composer window and lets you set the column at which words will be wrapped (you probably should not need to change the default value, which is 78).

Autosave interval

A backup copy of the text in the composer window can be created regularly. This option lets you specify the interval used to create the backup. You can disable autosaving by setting it to the value 0.

Standard Templates

Here you can add, edit, and delete custom message templates to use when you compose a reply or forwarding message.

Message templates support substitution commands, by simply typing them or selecting them from the Insert Command menu.

These are global (default) templates. They can be overridden by per-identity templates or per-folder templates if they are specified.

Custom Templates

Here you can add, edit, and delete custom message templates to use when you compose a reply or forwarding message. Create the custom template by typing the name into the input box and press the + button. You can bind a keyboard combination to the template for faster operations.

Message templates support substitution commands, by simply typing them or selecting them from the Insert Command menu.

There are four types of custom templates: used to Reply, Reply to All, Forward, and Universal which can be used for all kinds of operations. You cannot bind a keyboard shortcut to Universal templates.

Subject

This section contains a list of prefixes for Reply and Forward. If you receive messages that use prefixes different to the standard ones, you can add them here so KMail will recognize them. This way KMail can ignore them for sorting messages and when setting the subject of a reply or a forwarded messages, and optionally replace them with Re: or Fwd: respectively.

Charset

Here you can manage the default charsets used for your own messages. Every message you send will be checked if it is written in one of the listed charsets, starting at the top of the list. If it is, this charset will be used. If it is not, a dialog will show up and tell you that you manually have to choose a charset using OptionsSet Encoding.

If you select Keep original charset when replying or forwarding (if possible), the original message's charset will be kept, unless there are now characters that cannot be represented using that charset.

Headers

Check the Use custom message-id suffix checkbox if you want KMail to generate Message-Id's with a custom suffix. Enter the desired suffix in the Custom message-id suffix field. Please make sure that the suffix that you specify is world-wide unique. The best thing is to use the name of a domain which you are the owner of. If you do not check Use custom Message-Id suffix then KMail will automatically generate the complete Message-Id. If you do not know what this is all about do not check this option.

The Define custom mime header fields list sets the headers that KMail will use for its outgoing messages. You can both invent new fields and overwrite existing ones. This feature is only useful for advanced users.

Attachments

If you have to send attachments with filenames containing non-English characters to users of Microsoft« Outlook or Microsoft« Outlook Express then you might want to check the Outlook-compatible attachment naming option. KMail will then encode the attachment names in a non-standard way that is understood by Microsoft« Outlook.

Note that KMail will create non-standard compliant messages, and consequently it is possible that your messages will not be understood by standard-compliant mail clients. So, unless you have no other choice, you should not enable this option.

Check the Enable detection of missing attachments checkbox if you want KMail to warn you whenever you are about to send a message without attachments although the message text contains certain words which indicate that you wanted to include an attachment. The list of key words can be modified.

Autocorrection

To enable the feature, check the Enable autocorrection option. In the drop down box choose the language you would like to use. You can import settings from LibreOffice or another KMail installation by selecting the appropriate choice from the Import drop down box. If you need to save your settings for another installation or application, select the Export button.

Autocorrect Options

Simple Autocorrection

This allows you to configure KMail to autocorrect various simple corrections. Check the box next to the autocorrect feature you would like to enable.

Custom Quotes

You can replace double or single quotes with typographical quotes by checking the appropriate box. You can also add non breaking space before specific punctuation marks in French text by selecting the option.

Advanced Autocorrection

You can enter custom automatic word replacement by checking this option. To enter a custom string to replace automatically enter the word to be replaced in the Find box, and the replacement word in the Replace box and click the Add button. To remove a custom word replacement string, highlight the string and click Remove.

Exceptions

This allows you to set exceptions where you would like KMail to ignore your autocorrect selections for end of sentence and two uppercase letters. Enter the exception and click Add button. To remove the exception, highlight the string and click Remove button.

Once you have made all of your autocorrect selections click the Apply button.

Auto Resize Image

In some circumstances you may need to have KMail automatically resize image attachments on outgoing emails. e.g. Mail server limits. To do so, select Automatically resize images. There are several options that come with this feature.

General

Some general options for auto image resizing are as follows: If you need your images to keep the ratio of length and width intact e.g. Photographs, select Keep ratio. The default behavior is for KMail to prompt and ask if you want to resize before resizing, if you want it to resize without asking, unselect Ask before resizing. KMail will save the file in JPG, if you would rather have them save in PNG format, select it from the Write to format drop down box.

Image

Say you have a relative that can only receive image files of a certain size due to their email providers limits, you can use the Reduce image to maximum dimension: option to select a size to reduce the image to and enter their email into the filters on the Recipients tab. The recipients tab is discussed in further detail at the end of this section. If you need a custom size, choose the last option Custom from the width and height drop down boxes, and enter the number in the text box. You can also enlarge images by selecting Enlarge image to minimum dimension. The last option allows you to skip images of a certain filesize (this will verify image size by width x height only).

Filename
Source filter

If you would like the resizing to be done based on the name of the file, you would select the appropriate filter here. e.g. You need to send your boss multiple images daily, and your boss requires them to be the same size. You could name all of your work images work1, work2 etc. then select Include all files whose names contains one of the patterns and enter work into the Pattern: text box. You can also exclude files in the same way by selecting Exclude all files whose names contains one of the patterns. The default behavior is no filtering.

Image Format

Select Resize all images with one of these formats to set a specific format to resize the image to.

  • When this option is enabled you must select the Select Format... button and select a format from the dialog.

Resize filename

Select Rename resized images with the following pattern if you would like your resized images to be renamed with a specific pattern. Enter the pattern into the text box. You can use:

%t set current time
%d set current date
%n original filename
%e original extension
%x new extension
Recipients

This tab is where you would specify recipients that need to have resized images. e.g. grandma@myfamily.net; boss@mywork.com. You need to decide if you need multiple or only one, and enter the email(s) into the text box using the ; as a separator when you have multiple. You can also specify if you do not want certain recipient(s) images to be resized. The default is no filtering.

External Editor

Use external editor instead of composer

This selection allows you to use a different editor. Please note that the composer window will still open, and the external editor will open on top of the composer window. When you are done, save the text and exit the editor. The text will now appear in the composer window, where you can send it. Note that your editor may not return immediately, you have to use e.g. gvim -f %f for gvim.