Page 1 of 1

XAMPP + sendmail with Gmail won't work

PostPosted: 09. December 2013 13:31
by superboer8100
i'm curerntly having a problem with sending mails from my local XAMPP server. i changed my sendmail.ini file with the following settings:

Code: Select all
smtp_server=smtp.gmail.com
smtp_port=465
smtp_ssl=auto
debug_logfile=debug.log
error_logfile=error.log
auth_username=myusername
auth_password=mypassword
force_sender=myusername


in my php.ini at the mail part i commented all lines except for this one:

Code: Select all
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"


the error i get is the following:

Code: Select all
Socket Error # 10060 Connection timed out.


the operating system i use is windows 8.1. On other computers who have the exact same xampp installation it works fine.

does anybody have an idea what could be the problem?

Re: XAMPP + sendmail with Gmail won't work

PostPosted: 09. December 2013 13:56
by JJ_Tagy
I'm thinking firewall issue.

Re: XAMPP + sendmail with Gmail won't work

PostPosted: 09. December 2013 14:09
by superboer8100
Can i check that(if a port is blocked by firewall or something like that)? i checked if i had a virusscanner/firewall running but there isn't. i also tried to turn off windows firewall but that isn't working either.