My problem with the trust level, I got that changed, but not I am having trouble sending an email, it says "Unable to connect to server"
If I bring up the code, run it in debug mode, which brings up a preview, does that have the ability to send an email and test the code, or must it be published to sharepoint?