puneet.keswani has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: (OT) Send Mail
by marto (Cardinal) on Mar 29, 2012 at 12:34 UTC
Re: (OT) Send Mail
by Jenda (Abbot) on Mar 30, 2012 at 08:22 UTC

    You don't have a doubt, you have a question! The difference between "its" and "it's" eludes even most native speakers, but you should have noticed your post is a mess in the preview, read about Markup in the Monastery or at least the "Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!" sentence right under the textbox and fixed the formatting. I doubt people feel like helping someone who posts an unreadable off-topic post. You were too lazy to make it readable, why should we waste our time?

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

Re: (OT) Send Mail
by spazm (Monk) on Mar 29, 2012 at 16:42 UTC
    In a slightly more readable form, the original posters intended message:
    I know I should be asking a perl query here but I have a very simple Shell Doubt. Please help..

    I need to send an email with a HTML body and an excel attach to it, its not happening. The code I am using is as follows :

    ( echo "From: $MAILFROM" echo "To: $MAIL_TO" echo "Subject: $SUBJECT$MAIL_DATE$hr" echo "MIME-Version: 1.0" echo 'Content-Type:multipart/mixed; boundary="A_MIME_B +OUNDARY"' echo "--A_MIME_BOUNDARY" echo "Content-Type:text/html" echo "Content-Disposition:inline" echo "" )>AHTMLFILE ( echo "--A_MIME_BOUNDARY" echo "Content-Type:application/vnd.ms-excel; charset=U +S-ASCII; name=90_Day_Avg_SLA.xls" echo "Content-Transfer-Encoding:x-uuencode" echo "Content-Disposition: attachment; filename=90_Day +_Avg_SLA.xls" uuencode 90_Day_Avg_SLA.xls 90_Day_Avg_SLA.xls echo "" echo "--A_MIME_BOUNDARY" )>AXLSFILE cat AHTMLFILE header_cpc.html AXLSFILE | /usr/lib/sendmail $MAIL_TO
    Please help, Its urgent.