Mail when a torrent finish

  • Hi, I have the last version of openmediavalut and I have configurated the mail notification system and woks well.
    I have installed the transmission plugin and works well.


    I like that the machine send an email when a torrent download finished. I think that it is possible add in my openmediavault system. I have seen this url https://trac.transmissionbt.com/wiki/Scripts


    I have seen this script https://trac.transmissionbt.co…mail-when-torrent-done.sh
    and I like to modify this script because use

    Code
    /usr/bin/nail

    and I like use the openmediavault mail notification system if it is possible.


    Do you know when I can find documentation to use the openmediavault mail notification system to change this script?


    Best regards,


    Julio.

  • Hello I have got a script to do this.


    This program uses sendemail software (http://caspian.dotconf.net/menu/Software/SendEmail/)
    To install in openmediavault I do this

    Code
    apt-get install sendemail


    If you use a gmail account to send email or your server needs TLS support you need install this software too

    Code
    apt-get install libio-socket-ssl-perl

    and

    Code
    apt-get install libnet-ssleay-perl


    In my case put my script in /usr/bin/


    You must do the script executable

    Code
    chmod +x /usr/bin/AvisoTorrent.sh


    It is possible to do acces to this sh file

    Code
    chmod 777 /usr/bin/AvisoTorrent.sh


    I think is better integrate this funcionality in openmediavault with its mail notification, and I have a php page to manage the parametres like body or subject, etc .


    Best regards, Julio.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!