File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "mailing a data from ksh" Watch "mailing a data from ksh" New topic

mailing a data from ksh

shield kumar

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: 11777

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

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:
subject: mailing a data from ksh
It's not a secret anymore!