If you are working with cakephp 3 and need to send email then this tip help you to send email.

Step 1. Go to your app.php and find EmailTransport and add your SMTP details

Step 2. Now we can include cakephp default mailer class to send email

And after this we can create email object where we want to send email and send email

Done 🙂