The following can help with troubleshooting a faulty email connection! Example error messages:

ERROR: Email: The connection was refused.

1 - list all email options

proc options group=email;

2 - Add the debug option to the filename statement

filename myref email DEBUG; 

Sent lines are prefixed with S: and received lines are prefixed with R:

3 - Support notes

Does the SMTP server work without SAS?

4 - Windows Documentation

If all else fails - just use gmail!