Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

SMTP client for windows

Updated: 22 May 2010 | 8 comments
Alessandro Cerasoli's picture
0 0 Votes
Login to vote

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?

Comments

Mayur Shinde's picture
04
Oct
2005
0 Votes 0
Login to vote

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 Cerasoli's picture
04
Oct
2005
0 Votes 0
Login to vote

Does not exist any standard command line mailer tool in Windows?

Mayur Shinde's picture
04
Oct
2005
0 Votes 0
Login to vote

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's picture
05
Oct
2005
0 Votes 0
Login to vote

Have you considered vbscript? Here's an example I found... http://www.planet-source-code.com/vb/scripts/ShowC...

I hope that helps.

Mark

Mayur Shinde's picture
05
Oct
2005
0 Votes 0
Login to vote

HI Mark,

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

Mark Kimball's picture
05
Oct
2005
0 Votes 0
Login to vote

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/guid...

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

http://www.microsoft.com/technet/scriptcenter/guid...

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

Mark

Mark Kimball's picture
05
Oct
2005
0 Votes 0
Login to vote

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 Redington's picture
06
Oct
2005
0 Votes 0
Login to vote

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.