Email smtp problem

I had programmed a program with 7.33TSE3 a few years ago and the email worked fine. I have now upgraded to Dynamic C 9.21 and can not get the email to work correctly. I keep getting a connection error. When I get rid of the http server and everything else I am able to send an email.
Anyone have a similiar problem.