the first error is causing the second error.
the first error is saying that the email address that is being used for the TO address is not on the same domain for the SMTP server, so the smtp server is requiring authentication.
either the session is not being set properly, or it is being set to an address with a differrent domain.