Question: Can anyone help me out, we need to send mail through command line from Window server. We cannot use Blat as per security issue and neither do we want to install Exchange resource kit. We have our own Mail exchange server we can make use of it.

May be if any batch which could be run to access our SMTP mail server.

Thanks in advance.

Answer: 
I got this resolved without using any SMTP clients. I used Windows Powershell script to send mail and it is working very well. 

Please check the below link 

<http://blogs.msdn.com/b/powershell/archive/2009/10/30/sending-automated-emails-with-send-mailmessage-convertto-html-and-the-powershellpack-s-taskscheduler-module.aspx>

Happy coding !!
This is an example to send mail from your Gmail address, for other servers you need to change the -smtp and -port

$securepass = ConvertTo-SecureString -String $yourpassword -A -F

$credential=new-object PSCredential $yourusername,$securepass

send-mailmessage -from "$yourusername@gmail.com" -to $recipient -subject "subject" -body "message" -smtpserver smtp.gmail.com -port 587 -usessl -credential $credential -encoding utf8

Here is the script that can send mail from your Gmail:
<https://gallery.technet.microsoft.com/scriptcenter/PC-Utilities-Downloader-355e5bfe>