HTML and attachment using mutt command | Unix Linux Forums | UNIX for Advanced & Expert Users

  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


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 09-21-2012
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
    #2  
Old 09-21-2012
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 15 October 2014, 5:08 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,455
Thanks: 8
Thanked 546 Times in 524 Posts
An old portugese post says:
You have to have a version of mutt 1.5.XX
At the command line type
Code:
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:35 PM
Sending html email with html attachment sreenathkg UNIX for Dummies Questions & Answers 0 03-16-2012 10:18 AM
Send HTML body and HTML attachment using MUTT command vickramshetty Red Hat 2 05-11-2010 10:33 AM
Sendmail with html attachment and html body sol_nov Shell Programming and Scripting 1 10-08-2009 08:39 PM
Command line/Script to send E-mail with HTML body and binary attachment G-Man AIX 3 04-18-2007 09:30 PM



All times are GMT -4. The time now is 06:22 AM.