DEBUG
mail() is availableWP_Error Object ( [errors] => Array ( [wp_mail_failed] => Array ( [0] => SMTP Error: Could not connect to SMTP host. ) ) [error_data] => Array ( [wp_mail_failed] => Array ( [to] => Array ( [0] => xate@xate.de ) [subject] => Email Test [message] => this is a mail testing email function on server [headers] => Array ( ) [attachments] => Array ( ) [phpmailer_exception_code] => 0 ) ) [additional_data:protected] => Array ( ) )Mail Failed