A
aemi
Hi All,
I am trying to send a mail using shell script as for that java will be
a bit bulkier , so I Am using mailx command of unix
..
..
..
..
..
------previous code----
..
..
..
Process proc;
proc = Runtime.getRuntime().exec("mailx -s "+ msg
+"'(e-mail address removed)'");
}catch(IOException e)
{System.out.println(" Error Occured "+e);}
is there anything wrong with this coz I am getting
an error msg like
Error Occured java.io.IOException: CreateProcess: mailx -s Mismatch
occured'(e-mail address removed)' error=2
I am trying to send a mail using shell script as for that java will be
a bit bulkier , so I Am using mailx command of unix
..
..
..
..
..
------previous code----
..
..
..
Process proc;
proc = Runtime.getRuntime().exec("mailx -s "+ msg
+"'(e-mail address removed)'");
}catch(IOException e)
{System.out.println(" Error Occured "+e);}
is there anything wrong with this coz I am getting
an error msg like
Error Occured java.io.IOException: CreateProcess: mailx -s Mismatch
occured'(e-mail address removed)' error=2