I assume you're talking about sending mail to and from the Internet (from works, to doesn't). The error message suggests that the Internet Mail Service is not correctly configured for the outbound mail.
The correct configuration depends on whether you are sending using an outside SMTP server or addressing mail directly via DNS.
On the Connections tab of the Internet Mail Service property page, make sure Transfer Mode is set for Inbound & Outbound and that the settings under Message Delivery are correct for whichever configuration you are using. Also make sure, if you're using DNS, that the Exchange Server knows how to find your DNS server.
If you have further details to share, I would be glad to provide whatever assistance I can.
paul