![]() |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to send mail, on sun solaris | saisivakumar | Shell Programming and Scripting | 3 | 05-28-2008 04:08 AM |
| Send mail attachments and have a mail body | shibajighosh | AIX | 1 | 04-18-2008 02:54 PM |
| Can not send mail in solaris 5.9 | irasela | UNIX for Dummies Questions & Answers | 1 | 07-04-2006 11:29 PM |
| mail problems - how to send mail on solaris | amon | SUN Solaris | 10 | 04-06-2006 10:31 AM |
| Send mail with attachments automatically in a interval period | Leo Felix | Shell Programming and Scripting | 3 | 02-02-2004 10:16 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
I have a requirement to send and email of body html with an attachment. concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail. my command to send HTML body is as below: export MAILTO="recipient@domain.com" export CONTENT="./html/body.html" export SUBJECT="TEST EMAIL: TESTING HTML" ( echo "From: noreply@domain.com" echo "To: $MAILTO" echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo "Charset: iso-8859-1" echo "Content-Disposition: inline" cat $CONTENT ) | /usr/sbin/sendmail -t With the above command I can send html body contents through send mail. But, to the above scenario I need even the attachment. Please help me out for this. Thanks, Mohan Kumar CS |
| Bookmarks |
| Tags |
| attachements through sendmail, sendmail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|