503 5.5 2 need mail command
A classic!
The command you're looking for is mail
with the following options:
mail -s "Subject" 503 5.5 2
Here's a breakdown of the options:
-s "Subject"
: sets the subject of the email503 5.5 2
: is the recipient's email address, in the format of "error code error message recipient email address"
So, the complete command would be:
mail -s "Error notification" 503 5.5 2
This will send an email to the recipient with the subject "Error notification" and the body containing the error message.