Since PHP mail has been disabled on my server it has stopped a theme integrated contact form from working.
The theme is called Boldy and it has its own sendmail.php file
I've lost about 30 minutes figuring this out.
If you're using anything that allows you to configure SMTP within WordPress, take it out.
Then put everything into a function:
add_action('init','delay_until_init'); function delay_until_init(){ // call wp_mail() here }