[sylpheed:36793] Re: Send a custom HTML page as HTML e-mail

Antonio Ospite ao2 at ao2.it
Fri Apr 12 06:55:04 JST 2019


On Wed, 10 Apr 2019 23:39:08 +0300
Anton Shepelev <anton.txt at gmail.com> wrote:

> Hello, all
>

Hi Anton,

> I  going to ask you about an abomination, but please
> don't ban me right away.
> 
> Suppose I employed `pandoc' to  render  a  beautiful
> HTML  page.   Is  there  any way (however clumsy and
> complicated) in Sylpheed to send this file  as  HTML
> e-mail?
> 
> No, I am not asking to support HTML in Sylpheed (see
> my sig) for everyday use.
>

By looking at the HTML emails I receive, it looks like they are
declared as "Content-Type: multipart/alternative;" with two parts:

1. Content-Type: text/plain
2. Content-Type: text/html

So one possible hack I can think of is to add the HTML as attachment
(maybe put the "un-htmled" version in the main body), and then edit the
message changing "multipart/mixed" to "multipart/alternative".

Raw messages can be edited in Sylpheed by adding an "Action" (see
Configuration -> Actions), for example I have an "Edit message" action
which calls "gvim -f %F". 

Let us know if that works.

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the Sylpheed mailing list