send mail using telnet from script
2017-12-25
58 words
1 min read
If you have no other option but to use telnet with authentication to send mail π
( echo "ehlo" sleep 1 auth login sleep 1 $(echo username |base64) sleep 1 $(echo password |base64) sleep 1 mail from: from-address sleep 1 rcpt to: recepient sleep 1 data sleep 1 subject: test test mail . exit ) |telnet server port
Related Articles:
- 2017/01/09 ansible with docker dynamic inventory
- 2017/02/20 bash ansi codes to html for html reports from shell script
- 2017/01/02 Trello β backup to your linux machine
- 2016/08/16 change the output format for time command
- 2016/07/10 Get your local IP address like pro
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.