Hi, I run a forum here using phpbb: http://postal.anu.edu.au.

At the moment I'm using the php mail function. I don't receive any errors when an email is supposed to be sent out, but the emails are not sent at all.

When I try using my UNI's smtp mail server (with my username and pass) I get this error:

Code:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed:
Name or service not known in
/usr/local/apache2/htdocs/forums/includes/smtp.php on line 109

Warning: fsockopen(): unable to connect to anumail.anu.edu.au:25 in
 /usr/local/apache2/htdocs/forums/includes/smtp.php on line 109
 
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/apache2/htdocs/forums/includes/smtp.php:109) in
/usr/local/apache2/htdocs/forums/includes/page_header.php on line 470
 
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/apache2/htdocs/forums/includes/smtp.php:109) in
/usr/local/apache2/htdocs/forums/includes/page_header.php on line 476
 
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/apache2/htdocs/forums/includes/smtp.php:109) in
/usr/local/apache2/htdocs/forums/includes/page_header.php on line 477
What could be causing this? I have tried other smpt servers and get the same error. Could it be a file permission error?

Thx.