Tag Archives: Recharge Rs

HTML + Nail Command

By Junaid Subhani

Hello all

I am trying to send an email to my Outlook from a Solaris 10 machine using a Nail command. The email is of HTML type but when I receive it in outlook, its in simple text format showing HTML tags as shown below:

Command I am using:

Code:

cat body.lst | /opt/nail-11.25/bin/nail -r support@wael.com -b my@email.com -s "`cat mail.lst`"


The result is:

Code:

Win 1000 SMS Free
Message-ID:
User-Agent: nail 11.25 7/29/05
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear Customer,

Recharge Rs. 100 now get an instant bonus of 1000 SMS for free.

test
<img
src = "http://www.wael.com/images/twitter_logo.png">


How can I modify the command so that I receive it in HTML format ?
If nail command dosent work , how can I use mailx command to achieve the same ?

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums