To send an email in one line

Sending it to root, to make sure the redirection works.

In my case, using postfix, the right email address is in /etc/aliases

echo -e "From:authorized@domain.com\nTo:leo@domain.com\nSubject:Test Email - can delete \n\n Just a test, did it come through ?\n" | sendmail root