The desktop mailer uses sendmail for delivering mail between systems. See the sendmail(1M) man page for more information on how to configure email connectivity.
Before attempting to send or receive mail from the desktop, you should test that you can correctly send and receive mail using the mailx command.