Statistics
| Revision:

root / manual / en / sylpheed-13.html @ 1

History | View | Annotate | Download (1.72 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
<HTML>
3
<HEAD>
4
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5
 <TITLE>Sylpheed User's Manual: Handling MIME types</TITLE>
6
 <LINK HREF="sylpheed-14.html" REL=next>
7
 <LINK HREF="sylpheed-12.html" REL=previous>
8
 <LINK HREF="sylpheed.html#toc13" REL=contents>
9
</HEAD>
10
<BODY>
11
<A HREF="sylpheed-14.html">Next</A>
12
<A HREF="sylpheed-12.html">Previous</A>
13
<A HREF="sylpheed.html#toc13">Contents</A>
14
<HR>
15
<H2><A NAME="s13">13. Handling MIME types</A></H2>
16

    
17
<H2><A NAME="ss13.1">13.1 How Sylpheed checks for Mime types</A>
18
</H2>
19

    
20
<P>
21
<P>(Thanks to Adriaan Penning for writing this!)
22
<P>
23
<P>Two files, mime.types and mailcap, are involved in determining the mime type of an attachment, and the application associated with that mime type. The mime.types file is used to determine the mimetype of attachments you add when composing a message. The mime.types file consists of lines like:
24
<P>
25
<P>application/pdf                    pdf
26
<P>
27
<P>Sylpheed looks for this file in SYSCONFDIR (determined at compile time), /etc/ and $HOME/.sylpheed/ 
28
<P>If this file doesn't exist or has the wrong format, every attachment will have       `application/octet-stream' as it's mime type, so the recipients mail client may not know what application to use to view the attachment.
29
<P>To change the default application that sylpheed uses to view an attachment that      somebody mailed you, look for a mailcap file like /etc/mailcap or $HOME/.mailcap
30
<P>For example, you can add a line like this in $HOME/.mailcap if you want to view pdf  files with xpdf:
31
<P>
32
<P>application/pdf ; xpdf %s
33
<P>
34
<HR>
35
<A HREF="sylpheed-14.html">Next</A>
36
<A HREF="sylpheed-12.html">Previous</A>
37
<A HREF="sylpheed.html#toc13">Contents</A>
38
</BODY>
39
</HTML>