Allow internal program to send email through exchange

Hi I have a program that sends email reports and I need it to send via Exchange but all the program reports is "Error sending email" with no log.

What do I need to do to get any program to send via exchange? I wanna verify my exchange settings before I try Jedi Mind Tricks with 3rd party softwares.
GlitchA1Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

kdtreshCommented:
One way is to enable SMTP on the local machine and set the mail gateway to the exchange server. Then on the exchange server you allow relay from that system's ip.
0
Malli BoppeCommented:
Is relaying enabled for the local IP addresses.If not then you can't.
0
GlitchA1Author Commented:
Yeah, relaying is enabled for 127.0.0.1 and for the servers local IP

As far as I can tell relaying is enabled, but it just wont let me sned logs.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Malli BoppeCommented:
I mean to say you need add the IP address range of  your LAN.
0
kdtreshCommented:
The server needs to accept relaying from the IP you're trying to send from, so if your internal subnet is 192.168.1.x, your server needs to accept relaying from 192.168.1.0 with a mask of 255.255.255.0.

The other option is if it will allow you to enter credentials, you can use your exchange server as the smtp server and use credentials for a valid mail user. You may need to use domain\username for the username if there is no specific domain credential.
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
GlitchA1Author Commented:
Thanks.
What I was after was the statement of the obvious "domain\username" TYTY that was it.

I need a holiday lol.
0
Malli BoppeCommented:
That is what  I was saying as well.
0
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
Email Protocols

From novice to tech pro — start learning today.