I encountered an issue with my vps hosting, that appears WP does not send any notifications mails, and neither a contact form plugin can't send mails.
The hosting company made a test php file, using the php mail() function and within that test file a mail is being sent from the server and being received in my mailbox.
How can this be solved, I do not want to install all the wp-smtp plugins, but to solve this using the default WP mail sending, which is working for me fine in any other hosting.
What should I ask from the hosting company to set/check in order to be able using the WP default mail sending? Any ideas?
Thanks
$result = wp_mail('your_mail','subject','body');and then var_dump the result to see what errors you getvar_dump($result); and report back with that info – Bainternet♦ Jun 13 '11 at 6:29