summaryrefslogtreecommitdiffstats
path: root/manual/en/syl_012.sgml
blob: 47c79c64fead1b42baf736d7c5ef745f3f13b323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<sect>Handling MIME types

<sect1>How Sylpheed checks for Mime types<p>

(Thanks to Adriaan Penning for writing this!)<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:<p>

application/pdf                    pdf<p>

Sylpheed looks for this file in SYSCONFDIR (determined at compile time), /etc/ and $HOME/.sylpheed/ 

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.

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

For example, you can add a line like this in $HOME/.mailcap if you want to view pdf	files with xpdf:<p>

application/pdf ; xpdf %s

</sect1>
</sect>

<sect>Conversion of Other Mail Format into Sylpheed (MH Format)

<sect1>Importing Messages of mbox Format<p>
<!-- added 2001/07/20 -->
Sylpheed lets you import messages of the Mbox format from the File menu. First you create 
the mail folder where you want the messages to end up in, then you select File->import 
Mbox file. Use the browse function to select the Mbox file and the Sylpheed mail folder, 
and press Ok. And voila, there is your mail, imported.
<p>
That was easy, wasn't it?
</sect1>

<sect1>Importing from Windows Mailers (Becky!, AL-Mail, Outlook Express4, etc.)
<p>
For import possibilities of the mail folders of these and more mail programs you 
can download the program mbx2mbox at sourceforge.net. The project is located at 
<url url="http://mbx2mbox.sourceforge.net" name ="http://mbx2mbox.sourceforge.net.">
</sect1>
<sect1>Importing dbx Format of Outlook Express 5<p>
For import possibilities of the mail folders of these and more mail programs you 
can download the program mbx2mbox at sourceforge.net. The project is located at 
<url url="http://mbx2mbox.sourceforge.net" name="http://mbx2mbox.sourceforge.net.">
</sect1>
<!-- End added 2001/07/21 -->
<!-- start add 2001/09/04 -->
<sect1>Exporting from Sylpheed MH format to mbox<p>
Sylpheed offers a way to export a mailbox to the standard mbox format through the 
File menu. Just select the "Export to mbox file..." option and you can select the 
folder to export (assisted by a browse dialog) and also select or enter the name 
of the mbox file you wish to generate.
<!-- end add 2001/09/04 -->
</sect>