Matthias Apitz wrote: > I want to send out an e-mail with an inline JPEG attachments... > > I set (based on some hint) in my .muttrc > > set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " > > which seems to be the default in any case if I look into muttrc(5) > and I use from the cmd line: > > $ mutt -s "mail test" -a file.jpg test.html -- g...@unixarea.de < test.txt > > But the Content-Disposition remains "attachment".
I think you can only toggle the content-disposition from inside mutt, in the compose menu (ctrl-d). I don't think there's a way to do it if you're just sending directly from the command line. The attach_format you set only controls how attachments are displayed in the compose menu. It doesn't have any effect on the behavior of mutt with respect to attachments. -Kevin
signature.asc
Description: Digital signature