Changes between Initial Version and Version 1 of Email2tracParse


Ignore:
Timestamp:
01/16/09 15:51:40 (13 years ago)
Author:
bas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Email2tracParse

    v1 v1  
     1[[PageOutline]]
     2
     3= How an email is being parsed =
     4
     5An email has a header and a body. The email header fields are used to set the ticket fields and the body is used for the description and attachments. See section below how the header and body are parsed.
     6
     7== Header ==
     8
     9Must be written
     10
     11== Body ==
     12
     13If a message's body is broken up into several pieces (by attachments in the middle of the message), the ticket's description is set to the entire body, not just the first part
     14
     15For example, from an email like this:
     16
     17{{{
     18some text
     19<some binary>
     20more text
     21}}}
     22
     23the ticket that is created will have "some text" and "more text" in its description
     24
     25=== Links to attachments inside the ticket description ===
     26
     27![attachment:filename] links are automatically placed inside the ticket description, so that message text can clearly refer to them.
     28
     29For example, an email like
     30
     31{{{
     32I opened this file in your app:
     33<my file>
     34and I got the following error dialog:
     35<image>
     36}}}
     37
     38will generate a ticket like this:
     39
     40{{{
     41I opened this file in your app:
     42
     43[attachment:"my file"]
     44
     45and I got the following error dialog:
     46
     47[attachment:"image"]
     48}}}
     49
     50=== Inline image attachments ===
     51
     52If an attachment is of type image/* and its Content-Disposition is inline, then a Trac Image macro is placed inside the ticket description in the appropriate place, so that the resulting ticket has the image inline where it belongs in the text.
     53
     54The same email as in the previous example, if the image is inline, will result in:
     55
     56{{{
     57I opened this file in your app
     58
     59[attachment:"my file"]
     60
     61and I got the following error dialog:
     62
     63[[Image(image)]]
     64}}}