On Sun, 2012-04-15, Alby VA wrote:
> On Apr 13, 6:36 pm, Jorgen Grahn <
grahn+n...@snipabacken.se> wrote:
>> On Fri, 2012-04-13, Alby VA wrote:
>>
>> > Is it possible to attach a JPG (or GIF, TIFF, etc) as my .signature
>> > file in MUTT?
>> > I tried using (set signature) in .muttrc, but that just loads in
>> > gibberish.
>>
>> > Is there a way to load a picture as a signature file as an auto-
>> > attachment on every email?
>>
>> I don't think so. The traditional internet mail signature is part of
>> the text body of the mail. An image isn't text.
>>
>> What would it look like to a mutt user, anyway? Just an annoying and
>> useless attachment, like the ones I get from Outlook users.
>
> How about a graphical type of signature that includes html links to
> facebook, twitter, etc locations?
>
> Here is my situation My employer wants me to have a signature that
> includes those little facebook, twitter, icons with the links to the
> company's pages. The trouble I'm having is how do you create that
> in mutt? It is designed for people with MS Outlook, but I'm not sure
> how
> you do it in Mutt. Is there a way to create some type of MIME
> signature
> with that setup?
If we forget about Mutt for a moment and look at MIME ...
I assume that the only reasonable MIME format you can handle in Mutt
is text/plain. I.e. that plain text is the only kind you can easily
compose, quote and reply to, and so on. That's all I'e tried, anyway.
Then your options are these (unless I missed something):
1) Plain text links like my mail address below. Your boss probably
won't like it.
2) Make your message multipart/mixed, with first a text/plain section,
then a second inline text/html section[1] which is the signature. The
latter has all the colorful buttons etc.
That's sound according to MIME, but I doubt whether popular mail
software would display it correctly. Chances are the human readers
would be puzzled, too.
It's not too hard to sit down with a text editor and construct such
a message, and look at it using different MUAs to see how they
react.
Finally, I'm not sure how to create such a signature using Mutt.
It's not what the .sigature file supports, like I explained above.
You'd need some other mechanism.
3) Stop using Mutt for work mail.
Myself, I'm fortunate. At my workplace we do have some kind of
standard signature with company logo, a link to the web site and
street address, etc. But that one is easily approximated as plain
text, and noone has bugged me about it. Also, it helps that I never
send mail on behalf of the company.
/Jorgen
[1] Actually, to be polite to text readers like Mutt too, the structure
should be something like this (not counting embedded images):
multipart/mixed
-- text/plain main message
-- multipart/alternative
-- text/html HTML signature
-- text/plain text signature