Both of those say "authentication is required"... ask your hosing company if php mail() is supported and what settings to use (ask for a sample script if they have one).
If you need to use an authenticated email server you will have to use PEAR mail (confirm with your hosting provider that is supported).
We support PEAR mail from your mail settings in Universal Email.