You are probably trying to use your home ISP's SMTP server on your school's domain. It is common practice to block outside SMTP server access. This is a standard security measure intended to reduce SPAM. In some cases, you can get around this by using Port 587 rather than Port 25. If this does not work, then you will have to use your school's SMTP server.