I have been trying to send emails with ssmtp through my outlook account. I followed this page and this is what I have inside ssmtp.conf:
[email protected]
mailhub=smtp-mail.outlook.com:587
[email protected]
AuthPass=mypassword
UseTLS=YES
UseSTARTTLS=YES
rewriteDomain=outlook.com
[email protected]
FromLineOverride=YES
But when I want o test ssmtp, like by typing this in the terminal:
ssmtp [email protected]
nothing happens, and the terminal freezes. Any clue where I can start debugging this?
After couple of trials, I have realized that there are two ways to use this command.
Email from file
Echoing text