Hi,
I guess that the test log must contain the error description that is posted by the following code line:
Log.Error "E-mail cannot be sent", Err.Description
Could you please select the corresponding message in the Test Log and find out the
description in the Additional Info panel and post it here?
Also, I want to notice that this script is working on my computer with my certain parameters. I guess that you specify incorrect parameters in your script. Could you ask your system administrator for the name of your SMTP server and the port number that you can use to send your mail? I suppose that the problem is in these parameters.
Let me know your results
Ann