On Sat, 2021-03-20 at 06:25 -0700, Jonathan Ryshpan wrote:
> Is there a way to have evolution interpret the sig as HTML?

        Hi,
I'm quoting the original mail first:

On Fri, 2021-03-19 at 08:25 -0700, Jonathan Ryshpan wrote:
>    echo "<div>-- </div>" 
>    echo "<p>Sincerely Jonathan Ryshpan <jonr...@pacbell.net</p>" 
>    echo "<pre>" 
>    /home/jonrysh/bin/myFortune 
>    echo "</pre>"

Couple notes:
a) do not add the "<div>-- </div>", because 1) it's a wrong signature
delimiter; b) the signature delimiter is added by Evolution itself
(unless you've turned it off). Using a wrong signature delimiter causes
confusion why it's not removed on reply;

b) do not use <p></p>, use <div></div> instead; the composer
understands <p>, but uses <div> internally;

c) your email address does not end with '>'; as you pretend HTML, it
should be: 
   "<div>Sincerely Jonathan Ryshpan &lt;jonr...@pacbell.net&gt;</div>"
but if you want to make the address clickable, then the right form is:
   "<div>Sincerely Jonathan Ryshpan &lt;<a
href="mailto:jonr...@pacbell.net";>jonr...@pacbell.net</a>&gt;</div>"

>  typical output shows up in the preview box, e.g.:
> <div>-- </div>

If you see in the signature preview HTML tags, then the code thinks
it's a Plain Text signature, not HTML signature. That needs changing.
Try to enclose the whole content into <html><body> ... </body></html>.
The MIME type is guessed from the file content, unless you set it on
the signature object beforehand. The script signature doesn't let to
set it.

> When I open a composer window to create a new email, nothing unusual
> happens: no messages from evolution, etc.; no signature appears
> before I start editing.

When you look at the top of the composer window there's a From: line,
beside which is a Signature: combo. That's the place where you can
change the signature before sending/when composing the message.
        Bye,
        Milan


_______________________________________________
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to