I'm trying to set up fake sendmail (sendmail.exe) on Windows 2008 Server so PHP (and ultimately Joomla) can send messages using my provider's SMTP server. However I keep getting the following error when using XAMPP's Simple Email Form:
Socket Error # 10061<EOL>Connection refused.
Which seems strange since I can send mail from this machine just fine using Thunderbird and the same SMTP configuration. Here are the relevant entries from sendmail.ini:
smtp_server=smtp.1und1.de
smtp_port=587
smtp_ssl=auto
auth_username=<email>
auth_password=<password>
Trying to force SSL or TLS has no effect.
sendmail's debug.log:
14.03.17 13:37:17 ** --- MESSAGE BEGIN ---
14.03.17 13:37:17 ** To: <recipient email>
14.03.17 13:37:17 ** Subject: Test
14.03.17 13:37:17 ** MIME-Version: 1.0
14.03.17 13:37:17 ** Content-type: text/html; charset=iso-8859-1
14.03.17 13:37:17 ** To: <recipient email>
14.03.17 13:37:17 ** From: <sender email>
14.03.17 13:37:17 **
14.03.17 13:37:17 ** test test
14.03.17 13:37:17 ** --- MESSAGE END ---
14.03.17 13:37:18 ** Connecting to smtp.1und1.de:587
14.03.17 13:37:18 ** Disconnected.
14.03.17 13:37:18 ** Disconnected.
14.03.17 13:37:18 ** Disconnected.
14.03.17 13:37:18 ** Socket Error # 10061<EOL>Connection refused.
Any help is appreciated.