password recovery asp.net not working on email address outside the server

developing in .net 2008

I have implemented a simple textbook version of the password recovery module which only seems to work when the recipients email is on the same domain (or perhaps on any domain on the server).

When I try to use it on an email address from a different domain it always crashes.

Though maybe it was a setting in my mail admin but nothing there.

Its gotta be something simple. See attached error message.
ScreenHunter-01-Jun.-29-22.14.jpg
JOHNFROGAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JOHNFROGAuthor Commented:
figured it out. a legacy of an old shared server on my mail settings in web config file. Simply used localhost on the host setting.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.