Re: [Evolution] HTML email problem

On 2020-01-04 at 06:45 -0500, Joe Wade Pulley wrote:
Thanks for the reply.  

I've created a Test.pst file containing 1 email in Outlook.  

I wasn't sure how to show you the way it looks for me in Evolution so I
took a screenshot of what I see showing the header, the text portion at
the top of the email and the beginning of the HTML display of the email
at the bottom of the screen.  I also attached a pdf of what I see in
Outlook.  Except for some font issues (likely not installed on Ubuntu)
the HTML portion looks fine in Evolution.

If there is something else you need in order to see what I'm talking
about please let me know.


I have been able to import the email myself and reproduce the issue.

Looking at the source of the imported mail, it has the header:
Content-Type: multipart/alternate; boundary="=-m7pctIXGHnNa8SIElS5Z"

which is wrong, it should be multipart/alternative, per rfc 1341 (and
later, up to rfc 2046)

It's true that it is used to specify alternate contents, but the right
name is multipart/alternative.

Reviewing the code, it is a bug of the pst importer, that sets the mime
to multipart/alternate rather than multipart/alternative.

I have opened bug 745 about this, along with the trivial fix as a merge

(hope it is right from a procedimental pov, though)

Joe, as you are using the evolution version packaged by Ubuntu 19.10 I
see a few options.
* You could switch to a newer version -with this bug fixed- based on
* You could try to get Ubuntu maintainers to include this fix
* You could patch your own evolution version (this is a trivial fix, so
it'd be very simple)
* You could continue using the broken importer and deal with it fixing
the imported entries later. Just running the following sed command on
the folder containing the imported files would fix them:

sed -i  '0,/^$/ { s!^Content-Type: multipart/alternate!Content-Type:
multipart/alternative! }' *.evolution:*

Kind regards

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]