Configuring a bat script to send an email

Simple command to send en email to an internal network user within a .bat script
Who is Participating?

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

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.

You can do it relative easily using powershell:

look at the following article How to Send Email From the Command Line in Windows (Without Extra Software)
100questionsAuthor Commented:
Thank you.  I was hoping to do this directly in the .bat file without having to employ Powershell or VBS or any other scripting, but directly in the .bat file.
As of my knowladge there is no way for doing it without using scripting such as powershell.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Shaun VermaakTechnical Specialist/DeveloperCommented:
I use BLAT in my batch files

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
Gerwin Jansen, EE MVETopic Advisor Commented:
I second blat - as suggested by Shaun - I'm using it as well (no points please).
Bill PrewCommented:
There is no way to do this just in native DOS commands in a BAT file, sorry.  You either need to use some other scripting language (I often execute a small VBS script from the BAT script) or use a utility like BLAT to do the mail sending.  There are a small handful of these command line email utilities, if you are interested in those search around previously answered questions on this site.  If you can't find them let me know I'll point you towards some.  But I don't want to go too far if you can't use either utility or other scripting languages.

It seems that SHaun Vermaak solution is close enough to what the Author looked for.
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
Windows Batch

From novice to tech pro — start learning today.