|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
display HTML text in body using unix mailX ????Hello,
could any one tell me how to display text in html layout by sending a file using mailx command in unix. i know to use mailx : mailx -s "SUBJECT" user.name@domail.com < file_name.txt instead of txt file i want to send html page and that page should display in html format. Please help me with this. Thanks, SparanBlue |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
I imagine you would want to uuencode or MIME encode it.
|
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
http://www.unix.com/unix-advanced-expert-users/14177-unable-sent-mail-html-format-mailx-command.html
|
|
#4
|
|||
|
|||
|
Thanks a lot.
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Hi
I read the thread, i am also facing the same problem, but issues is that I cant use sendmail here, i am supposed to use mailx only as sendmail is not available on the system on which i work. I'll be damn happy if anybody can help me out, Thanx a lot |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
mailx does not have MIME facilities (at least in the general case). Do you have mutt or pine then?
Like it says in that thread, mailx uses something like sendmail behind the scenes to send off the mail, so maybe you have it after all. Look in /usr/sbin/sendmail and /usr/lib/sendmail as well; or if you have locate, try locate sendmail |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
uuencode file2 file2 >> tempfile
mailx -s "ATTACHMENT with TEXT" vg517@chrysler.com < tempfile Try using the above example. hope this'll workout for you. Thanks Varun. |
| Sponsored Links | ||
|
![]() |
| Tags |
| mailx, mailx attachment, sendmail |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Send HTML body and HTML attachment using MUTT command | vickramshetty | Red Hat | 2 | 05-11-2010 10:33 AM |
| mailx requirement - email body header in bold and data content in normal text | sureshg_sampat | Shell Programming and Scripting | 5 | 04-08-2010 07:07 AM |
| Referring to attached images in html email body through mailx | biswasbaishali | Shell Programming and Scripting | 5 | 03-15-2010 01:13 PM |
| mailx and html body messages | gbagagli | UNIX for Dummies Questions & Answers | 2 | 11-06-2008 07:36 AM |
| How can I write a HTML file in UNIX and sent it as a body of a mail | diwa81 | Shell Programming and Scripting | 0 | 10-13-2004 09:07 PM |
|
|