I'd like to append a signature generated by a script to my emails, which
I don't want preformatted.  The signature is generated by the fortune
program and I would like the font etc. to match the rest of the
message.  

By default Evolution adds a <pre> </pre> pair around the signature.  Is
there any way to suppress this?

I had hoped to work around the problem with a script like this:

        $ cat Signature.sh 
        #!/bin/bash
        echo "</pre>"
        echo "All the best - jon."
        /usr/bin/fortune $HOME/proj/quotes/quotes
        echo "<pre>"

But evolution cleverly works around this by quoting the angle brackets
as shown in the saved email shown below:

        $ cat TestOfSignature 
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
        <HTML>
        <HEAD>
          <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
        CHARSET=UTF-8">
          <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
        </HEAD>
        <BODY>
        Here a signature:<BR>
        <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
        <TR>
        <TD>
        <PRE>
        -- 
        &lt;/pre&gt;
        All the best - jon.
                        There are 2 rules to success in life:
                            1. Don't tell people everything you know.
                            -- Dean Brown
        &lt;pre&gt;
        </PRE>
        </TD>
        </TR>
        </TABLE>
        </BODY>
        </HTML>
        

Note that "</pre>" has been converted to "&lt;/pre&gt;".  Is there any
way around this, or am I well and truly stuck?

BTW: Why all this formatting?  In particular, why is the signature
appended as a table?

-- 
</pre>
All the best - jon.
                In a World Without Fences,
                Who Needs Gates?
                Linux - http://www.linux.org
<pre>


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

Reply via email to