invoking Sendmail from Java code
843830Sep 12 2002 — edited Sep 12 2002Hi,
I have a problem calling Linux sendmail from java code. I could able to run the command from the Shell prompt.
the command is
/usr/sbin/sendmail toaddr < filename
i tried to call it from java program by using Runtime.exec(String) and Runtime.exec(String []) but could not get it solved as its not taking the redirectional operators.
its saying that < and file name are invalid address.
any help/suggestions would be greatful
thanx and regards
venu sunil