This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes mailing a data from ksh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "mailing a data from ksh" Watch "mailing a data from ksh" New topic
Author

mailing a data from ksh

shield kumar
Greenhorn

Joined: Feb 05, 2009
Posts: 28
I need to send below email from ksh
---------------------------
Subject:- Action Required

Email Body:-
Please do this activity $variable
----------------------------
But the problem is while sending the mail,I have to take care of alignment of the text also.
The row and column i.e coordinates of email body text in the mail depends on two variables(namely $row and $column) that i will fetch from database.Please help in doing the same
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11524
    
100

Please tell us what you have done so far, so we can suggest things you have not already tried.

- Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Manoj Agnihotri
Greenhorn

Joined: Nov 14, 2006
Posts: 11
Have you tried mailx command.

For example
uuencode ${FILE} | mailx -m -s "Subject Line" ${destination_email_address}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: mailing a data from ksh