Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Trying to follow the instructions here, I'd like to be able to insert my picture in the 'From:' header field, but I'm at a loss.

share|improve this question
    
Following those instructions won't work for Gnus, they are from the MH-E part of the manual. –  asjo Jul 28 '11 at 21:11
add comment

2 Answers 2

The field you want is "X-Image-Url" rather than "From". Not all email client support viewing it, though. To insert this header, you'll need to check your Mail User Agent (i.e. Thunderbird, Evolution, mutt, etc) documentation. Then once you have an image available online somewhere, you can refer to it like this when you add the X-Image-Url to your MUA:

X-Image-Url: http://host/of/your/image.png
share|improve this answer
    
The MUA I want to integrate with is mentioned in the question title, gnus. –  YHVH Mar 12 '11 at 14:24
add comment

Something like this in your ~/.gnus should do the trick:

; Add X-Image-Url:
(add-hook 'message-send-hook (lambda ()
                               (message-add-header "X-Image-Url: http://your_url_here.png")))

(It might be easier to use posting styles to do so.)

I don't think that Gnus supports showing images from X-Image-Url: headers yet, though.

Until it does, you can have it display the header (and click the link) by doing something like:

(setq gnus-visible-headers (concat gnus-visible-headers "\\|^X-Image-Url:"))
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.