Send result email

Advertisement

mmmax
Guest

Send result email

Hi,
I made a script to send backup from local disk to external ftp (with synchronize option)
It works perfectly
But i would like to send an email to inform me in cose of faillure

In documentation i found docs for sendmail.exe but this program has been abandoned..
I found "Blat" but i had'nt found documentation to runnung blat with winscp

Can you help me ?
Thanks !

Reply with quote

Advertisement

mmmax
Guest

edit

I forgot to add :

Im already able to send mail in cmd line with blat
Im only not able to use blat in winscp

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
33,437
Location:
Prague, Czechia

Re: Send result email

I believe that the sendmail still works.

Anyway, I do not understand your question. You know how to send an email with blat command from a batch file. And you have an example how to execute a command from a batch file when WinSCP succeeds or fails:
https://winscp.net/eng/docs/guide_automation#results
So you have everything you need, don't you?

Reply with quote

Advertisement

You can post new topics in this forum