Hello and thanks for being here.

I have a script that downloads an image from a
web server with wget and then sends it to a
number of people who want it.

To send the email the script uses:

  cat /dev/null | mutt -s "Daily Image" -a image.gif [EMAIL PROTECTED]

to send out the image.

In order the help out the more "technically
challenged" recipients, I want the image to
display inline with the message text and not
require extra steps to detach and view.

This requires the image file attachment has
the "Content-Disposition: inline" mime header
instead of the default "Content-Disposition: attachment".

Interactively, within Mutt, I can just press
ctrl-d to toggle-disposition, but I do not
know how I can have this happen from my script.

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to