Mutt and inserting inline images above the signature
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mutt and inserting inline images above the signature
I can insert an image inline with mutt by using attach, then using ctl+d to make the image appear inline. However, it appears below my signature.
If anyone knows of a way to make the image appear above the signature, I'd be grateful for their input. (This is with mutt 1.5.21--usually sent from a Fedora 14 machine, but I haven't found the behavior to change with the platform.)
Unfortunately, it's necessary to do this at work, for a particular daily email. The workaround is to use Thunderbird for this particular email, but I'd much prefer to use mutt.
I was able to do this by manually deleting my signature while composing
the message. After attaching the image file and using ctrl-d to switch
to inline, I attached my .signature file and did the same (ctrl-d).
Viewed with Thunderbird on XP to test.
Aha, that works. I can even make a separate signature file, where I add the -- on top. (If I just did that with my normal signature file, the -- was missing. Though the folks who get this one email wouldn't notice, it annoyed me.)
Thanks very much--I see this was your first post, and it seems a winner to me.
EDIT:
Drat, to soon. It works with some mailers, but not our web mail at work. Still, my thanks remains, at least it gave me something to work with. (Our web mail is somewhat dated, and for some reason, shows the signature as an attachment, though the image appears inline.)
I may as well add that today, when I went back to work and was able to see the results on Outlook 2003, it didn't work as expected. Though the inline image shows as inline with Thunderbird, gmail, and our company's webmail, in Outlook 2003 it shows as an attachment.
While I'd like to rant about MS' lack of adherence to standards, the reality is that in the business world, it's still a Microsoft world and even the Linux admin is expected to conform--at least where I work.
"The purpose of using this tool is to enable sending email messages in
HTML format using email clients (MUA) that are textual (for instance,
Mutt). When working with Mutt, all one has to do is to replace the
normal definition of Mutt's ``sendmail`` configuration variable with a
definition that calls plain2html-mail.py. That way, when a mail is
sent from Mutt, it will be modified on the fly by appending to it a
HTML part, then it will be handed over to the normal sendmail command."
Maybe it could be part of your solution? I haven't had time to play with yet myself,
but if I have any luck I'll report back.
Y'know, I'd never seen this post, apologies for taking so long to get back to you. I'll try it tomorrow.
FOLLOWUP. I downloaded and took a look. For what I want, it seems as if it might take more effort than I'm willing to spend. However, once again, thanks for the suggestion.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.