Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Monday, October 22, 2007

Send email through batch file in Windows

Alok sent me a query today. He wanted to know how to send email through a batch file in a windows box. This was for sending an email automatically after the backup with the backup log as the attachment. There are two well known solutions for this. First is a utility called mapisend.exe which ships with Exchange Server Resource Kit. If you have a valid Exchange Server license, you can download it from here. The other option is to use blat which is an open source windows utility for sending mails through commandline available here. Msexchange.org has this great article which describes various ways to send email without a client on windows: by using pickup directory, by mapisend or blat, by using telnet and by using ASP and CDONTS.

No comments: