In order to send email from CLI, I setup nail as below:
1. ipkg install nail 2. edit /opt/etc/nail.rc, add following lines to the end of the file
set smtp=smtp.gmail.com:587 set smtp-use-starttls set smtp-auth-user=[username]@gmail.com set ssl-verify=ignore set smtp-auth-password=[password]
3. sending mail from cli:
# echo “email body” | /opt/bin/nail -s “subject” [destination]@whatever92389.com
UPDATE Jul [...]