Unix/Linux Go Back    

UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

HTML and attachment using mutt command

UNIX for Advanced & Expert Users

Thread Tools Search this Thread Display Modes
Old Unix and Linux 09-21-2012   -   Original Discussion by arukuku
arukuku's Unix or Linux Image
arukuku arukuku is offline
Registered User
Join Date: Jan 2012
Last Activity: 21 September 2012, 10:18 AM EDT
Posts: 42
Thanks: 7
Thanked 0 Times in 0 Posts
HTML and attachment using mutt command

Hi All,

I want to attach the file as well send html content in the mail body using mutt command or any other command.(uuencode is not present). Please help me. Thanks in advance
Sponsored Links
Old Unix and Linux 09-21-2012   -   Original Discussion by arukuku
DGPickett's Unix or Linux Image
DGPickett DGPickett is offline Forum Advisor  
Registered User
Join Date: Oct 2010
Last Activity: 1 February 2016, 3:35 PM EST
Location: Southern NJ, USA (Nord)
Posts: 4,673
Thanks: 8
Thanked 587 Times in 560 Posts
An old portugese post says:
You have to have a version of mutt 1.5.XX
At the command line type

mutt -e "set content_type=text/html" -s "Assunto" xxx@xxxxx.com <xxxx.html

There is a man page out there:

mutt(1): Mutt Mail User Agent - Linux man page

Attachments can be in 8-bit (raw), base-64 or uuencoded depending on the mail client. The first is, naturally, harder to handle but < 3/4 the size. It is easy to write or find either base-64 or uuencode source and executables.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need to send attachment without using uuencode and mutt rogerben Shell Programming and Scripting 4 08-01-2012 01:35 PM
Sending html email with html attachment sreenathkg UNIX for Dummies Questions & Answers 0 03-16-2012 11:18 AM
Send HTML body and HTML attachment using MUTT command vickramshetty Red Hat 2 05-11-2010 11:33 AM
Sendmail with html attachment and html body sol_nov Shell Programming and Scripting 1 10-08-2009 09:39 PM
Command line/Script to send E-mail with HTML body and binary attachment G-Man AIX 3 04-18-2007 10:30 PM

All times are GMT -4. The time now is 04:09 PM.