cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP client for windows

Alessandro_Cera
Level 3
Partner Accredited
Scenario:
Media Server is Windows 2003.
I want to send notification mail to administrator on execution of backup.
I noticed I have to customize the script in order to have a client sending the mail; but I have to download a free client (i.e. blat).

My customer doesn't want to install anything else that Windows and standard software.
Is it possible to configure the mail client using outlook or something else?
8 REPLIES 8

MayurS
Level 6
As a SMTP mailer you can use any command line tool that can be passed the arguments in the NBMAIL.cmd

Outlook cant be used

Alessandro_Cera
Level 3
Partner Accredited
Does not exist any standard command line mailer tool in Windows?

MayurS
Level 6
NO i am not sure that microsoft has a CLi Mailer.

You can evaluate the freely available CLI mailers and use a one from a trusted vendor.Message was edited by:
Mayur Shinde

Mark_Kimball
Level 3
Have you considered vbscript? Here's an example I found... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6480&lngWId=4

I hope that helps.

Mark

MayurS
Level 6
HI Mark,

Does this VB script accept arguments ?
NBMAIL gives argument to the mailer program.

Mark_Kimball
Level 3
That particular script doesn't accept arguments, but vbscript in general does. Here is some info on arguments in vbscript from Microsoft...

http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_ywsa.mspx

Here is some general info on vbscript and wsh that might get you further down the road...

http://www.microsoft.com/technet/scriptcenter/guide/default.mspx

I hope that helps. If you do get something working, I'd be interested in seeing it.

Mark

Mark_Kimball
Level 3
I spoke with a friend this morning about using Outlook to do this, and he thought that using Outlook to send a simple email was like using a sledgehammer to drive a finish nail. In order to get Outlook to work, the environment needs to be set up quite thoroughly, and a full instance of Outlook gets started every time you want to send that mail.

My friend suggested using a DLL (not a full application) that has been around for a long time called aspemail (http://www.aspemail.com/download.html). It's much lighter and can be accessed through vbscript. I know that doesn't fulfill what you're looking for, but I thought I would at least report on what I heard.

Thanks,

Mark

Jeffrey_Redingt
Level 5
How about Blat for windows? It has the added bonus of being the program that NetBackup and Symantec/Veritas recommends. Even better there are Veritas technotes on setting up blat to work with NetBackup. Here is the link to Blat for Windows: http://www.blat.net/194.