Menu

Send data by email

Anonymous
2013-07-15
2014-11-04
  • Anonymous

    Anonymous - 2013-07-15

    hello.
    I want to recieve the output by email.
    is this possible?

    thanks.

     
  • Anonymous

    Anonymous - 2013-07-19

    Sure,

    Edit CUSTOM/CLIENT/WINDOWS/SCRIPT.CONF. Point to the script that does the job:

    CUSTOM/CLIENT/WINDOWS/Script-EmailReport.sh &

    Create the script CUSTOM/CLIENT/WINDOWS/Script-EmailReport.sh with:

    !/bin/bash

    SMTP_SERVER="YOUR_SERVER"
    FROM=BGINFO4X
    SUBJECT=BGINFO4X_Report
    TO="DESTINATION_ADDRESS@domain"
    ATTACHI="-attachi $HOME\BGINFO4X\EXPORT\BGINFO4Xdiv.html"

    /BGBINARIES/blat/blat.exe -server $SMTP_SERVER -f $FROM -subject $SUBJECT -to $TO -html -body "Your Report" $ATTACHI

    Execute BGINFO4X and after the execution you will receive the email.

    Enjoy!

     
  • BGINFO for X and for Windows!

    Hope this helps.

    Regards.

     

Anonymous
Anonymous

Add attachments
Cancel