I could solve it myself.
Strangely, your EchoInfo function did not seem to echo anything (this is running on windows server 2008). I just edited to echo w/e string anyway and could work from that point to solve my issues (it was a configuration issue with exchange in the end).