The exchange server probably requires Authentication in order to relay emails, you will need to select one of the mail objects that supports authentication such as CDOSYS in ASP or Pear Mail for SMTP in PHP, check wit the host for the correct username and password to use.