I am having this issue also and the php.ini fix did not help.
Windows Server 2012
SMTP settings tested with local email client work. The SMTP host is on the local network and am using the IP address.
The standard contact form gets SMTP connect failed for sending to the user and the "Send copy to yourself"
Reason for SMTP being preferable is so emails are less likely to be considered junkmail when being routed from another server.
Any help with this would be most appreciated.
Have tried PHPmail and Sendmail with no luck also.
Also where can I find the info that describes why I am getting the SMTP connect failed message?