It could be your mail server.
The default is localhost but possibly you are using a smtp server such as a windows server does.
Control Panel » Primary Settings
Use specified SMTP Server:
Normally this is controlled by php.ini. However if you need to send mail through another SMTP server and cannot do this by editing php.ini, you can specify it here.