LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-23-2011, 09:01 AM   #1
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Rep: Reputation: 59
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.
 
Old 01-23-2011, 01:59 PM   #2
bcgreg
LQ Newbie
 
Registered: Jul 2009
Location: Boulder Creek, CA
Distribution: Arch, Fedora, Debian, Antix
Posts: 4

Rep: Reputation: 2
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.
 
1 members found this post helpful.
Old 01-23-2011, 03:30 PM   #3
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Original Poster
Rep: Reputation: 59
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.)

Last edited by scottro11; 01-23-2011 at 04:00 PM.
 
Old 01-24-2011, 09:22 PM   #4
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Original Poster
Rep: Reputation: 59
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.
 
Old 01-24-2011, 10:34 PM   #5
bcgreg
LQ Newbie
 
Registered: Jul 2009
Location: Boulder Creek, CA
Distribution: Arch, Fedora, Debian, Antix
Posts: 4

Rep: Reputation: 2
I saw this on the mutt mailing list a while ago:

https://sourceforge.net/projects/plain2html/

"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.
 
1 members found this post helpful.
Old 06-12-2011, 02:06 PM   #6
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 263

Original Poster
Rep: Reputation: 59
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.

Last edited by scottro11; 06-12-2011 at 03:05 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inline images joeshmo LQ Suggestions & Feedback 1 10-11-2009 08:52 AM
send mail with inline images along with html in perl tanveer Linux - General 2 12-14-2007 05:23 AM
inserting inline assembly in c andystanfordjason Programming 2 01-11-2007 07:28 PM
MailScanner inline signature gigi Linux - Software 0 07-05-2005 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration