Is it possible to send an email from the terminal to an email address hosted by mail in a box from the same server it self ?
I’ve created a shell script that is executed once a week via cronjob . I want to be able to get an email notification on the result of that cronjob by modifying my shell script to send an email of the outcome of that cronjob. The cronjob is done on the same server mail in a box is hosted on and the email address I want to send and receive from is also managed by mail in a box.
Can this be done ? I dont want to install additional mail utilities on the mail in a box server , can I do this from the terminal using existing mail in a box configuration ?