Hi, I downloaded and implemented this UDF. But I can't get the email to work. I've added InetMail to the UDF so I can send the bug report to my email address. I have a problem though with the variable $sErrDesc. If I put everything in the body except for this line, it works fine. But the moment I add the $sErrDesc, it gives me this message: "The command line argument is not valid. Verify the switch you are using." I've added >>>>>>>>>>>>>>>>&