We do not allow any mails to be relayed without first authenticating to our mail servers, therefore, wordpresses mail() function will not work, this is due to security reasons and to prevent spamming.
There are many smtp plugins from wordpress that can be used, their setups are all basically the same, below is a basic instruction on how toget this running in 5 minutes.
1) search and install the "WP Mail SMTP plugin"
This plugin reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page that allows you to specify various options.
2) You must set the following options:
- Specify the from name and email address for outgoing email.
- Choose to send mail by SMTP function.
- Specify an SMTP host (defaults to localhost change it to smtp.yourowndomainname). (change the domain name to your own domain name)
- Specify an SMTP port (defaults to 25 you can also use 590).
- DO NOT enable SSL / TLS encryption (This can be used, but other settings need to be used, contact support first).
- Choose to use SMTP authentication.
- Specify a valid SMTP username (email address) and password.
3) Send email from your site.