UNSOLVED

SML099

updated

12 years ago

S

SML099

10 Posts

0

5205

May 7th, 2014 04:00

Neworker smtpmail


Hi could someone answer a networker email render log question?

Q - I render a .raw log to a text file daily, but looking to use Networker notifications to email the contents
of this file, is this possiple, whats switches do I use?

Q - I have created a script to email this log, but I seem to be unable to email the contents,
I am just piping smtpmail on the end of the render cmd;

nsr_render_log ..\logs\daemon.raw > daemon.log|smtpmail -s "Testing email notification" -h "mail server address" "email account"

I seem to be able to send the output of an mminfo cmd when I pipe that to an email;

mminfo -av -q "client="client name",savetime>today"|smtpmail -s "Testing email notification" -h "Testing email notification" "email account"

If someone has done this before, any advice welcome?