I use my self-written perl-script to send mail.
It returns an exit code of 1 if an error has occured! But how to get the error code?
I use it like:
print MAIL "From: \"xx\@xx.com\" <xx\@xx.com>\n".
"To: \"xx\@xx.com\" <xx\@xx.com>\n".
"This is the body";
but how do I get the error code???