Sending email with SMTP from localhost

Can someone give me a working example of How to send email from localhost using gmail SMTP


When you implemented configuration and code based on the manual section about email, what was the result?

go to C:\xampp\sendmail
sendmail.ini this file as below
pop3_password=Password@23124 ;your password, this does nothing at all to answer the question. @sarsitaarjunsangeeta should be looking to use Cake’s configuration and classes to connect directly to GMail, nothing whatsoever to do with a local sendmail setup. The solution should work just fine without any local mail server even running!