Hello,
My script creates an email using sendmail.
The script is not called directly from the browser but from another server
as as the indirect result of a submit to that server.
So there is no need to write anything to the browser, nor to redirect the
browser. But I seem to a get a server 500 error unless I do one of those
things.
This is my current ending:
print MAIL "blah\n";
print MAIL "more blah\n";
close (MAIL);
$url="http:\/\/www.somedomain";
print "Location: $url\n\n";
exit;
I suspect there is a better way....?
TIA
Rodney
Oxford, England.