Esxi Send mail via sh
copy to clipboard
With "BASE64encodedEMAIL" your base64 encoded email
With "BASE64encodedPASS" your base64 encoded password
echo "HELO esxi.frogg.fr" > mail.txt echo "AUTH LOGIN" >> mail.txt echo "BASE64encodedEMAIL" >> mail.txt echo "BASE64encodedPASS" >> mail.txt echo "MAIL FROM:esxi@frogg.fr" >> mail.txt echo "RCPT TO:admin@frogg.fr" >> mail.txt echo "DATA" >> mail.txt echo "From: admin@frogg.fr" >> mail.txt echo "To: admin@frogg.fr" >> mail.txt echo "Subject: FroggPT BackUP result" >> mail.txt echo "" >> mail.txt echo "THIS IS A TEST" >> mail.txt echo "" >> mail.txt echo "." >> mail.txt echo "QUIT" >> mail.txt # Send the mail /usr/bin/nc smtp-auth.Register.eu 25 < mail.txt
With "BASE64encodedEMAIL" your base64 encoded email
With "BASE64encodedPASS" your base64 encoded password