Not sure if there is something I need to configure but looking at other posts I have gotten this far.
From the webmin panel > system > php configuration > manage /etc/php5/apache2/php.ini
I chnaged under other settings
path to command for sending email to /usr/sbin/sendmail -t -i
Is there something else I need to do? Because no emails have been recieved and no errors either.