Thanks but is
Process p = Runtime.getRuntime().exec("/usr/sbin/sendmail
kumar@Kumar.com");
OutputStream code...sufficient to send out the mail message...
(ignoring the address part)
and when the stream is closed ..message is eent out........
Anything else ...??