Already registered? Log in
Don't have an account? Register here
This guide helps to setup your SMTP2GO server as Outgoing SMTP Server in cakePHP Framework.
This guide provides a simple script to send an email with both html and text bodies using cakePHP’sCakeEmail. This class replaces the EmailComponent and gives more flexibility in sending emails. To know more about CakeEmail, please click here.
Define the text and html templates in following files respectively:
Define the text and html layouts in following files respectively:
Create a file app/Config/email.php with the following content:
Add the following code in your controller:
Try SMTP2GO free for as long as you like:Try SMTP2GO Free → Paid plans available for over 1,000 emails/month.