Question : xampp 1.4.16 sendmail problem in gmail

Hi there;

I cannot send mails via sendmail by using my google account:
Things I have done:
sendmail.ini content:

smtp_server=smtp.google.com
error_logfile=error.log

auth_username=myemail@gmail.com
auth_password=mypassword

; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines

;pop3_server=
;pop3_username=
;pop3_password=

php.ini content in apache that resides in xampp that I have found the path by running phpinfo() function in afile:

Uncomment: extension=php_smtp.dll
[mail function]
; For Win32 only.
SMTP = smtp.google.com
smtp_port = 25

; For Win32 only.
sendmail_from = [email protected]

I am not in VPN or any firewall...Why cannot I connect via gmail? What am i missing?
I cannot update xampp since I am in 7-64 bit and he becomes unstable when I install the latest, note that I installed it into ProgramFiles x86 folder, not default XAMPP to prevent unstabilities.

Best regards.
Best regards...

Answer : xampp 1.4.16 sendmail problem in gmail

Gmail uses SSL for sending mail

So you can connect to their SMTP server only using SSL

An alternative would be to use http://phpmailer.worxware.com/index.php?pg=phpmailer
Random Solutions  
 
programming4us programming4us