phpemailxamppsendmail.exe

xampp lite ver 1.7.7 not able to send emails


I am tryign to send email using xampplite version 1.7.7.

I changed my PHP.ini file wit the following:

[mail function]
; For Win32 only.
; http://php.net/smtp
;SMTP = localhost
; http://php.net/smtp-port
;smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = postmaster@localhost

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "\"\xampp portable\sendmail\sendmail.exe\" -t"

I also downloaded the latest version of sendmail application and made the following chages to it, ofcourse replaced it with my email informations.

smtp_server=smtp.gmail.com
smtp_port=465
smtp_ssl=auto
auth_username=myemail@gmail.com
auth_password=mypassword
force_sender=myemail@gmail.com
hostname=smtp.gmail.com

I am stil unable to send email making above changes, if someone can help then please let me know thanks.


Solution

  • If there is an ; before the line, it means that it's commented out