Sending emails from a CakePHP application is simply a piece of cake. Here is the basics according to Cakephp documentation. Here is the basic configuration in config/app.php
'EmailTransport' => [
'default' => [
'className' => 'Smtp',
'host' => 'smtp.xxxxx.com',
'port' => 587,
'timeout' => 30,
'username' => 'firstname.lastname@example.org',
'password' => 'xxxxxxx',
'client' => null,
'tls' => true,
'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null),
In the EmailTransport configuration named default above the className parameter is the…
WordPress is the most used CMS that powers 30% websites over the internet! WordPress uses themes to control look and feel of a website. You can create new theme or a child theme by following simple instructions found here.
Migrations is a powerful feature in CakePHP. It gives you a tool to create or import database structure and data through command line interface. CakePHP Migrations is installed by default when you install CakePHP.
CakePHP Captcha plugin for CakerPHP 3 is a very useful addition to your CakePHP app to keep submissions on your website spam free. CakerPHP 3 Captcha plugin can be installed in simple steps using composer or can be placed in…
Your website may stop functioning properly when disk space gets low. There are a lot of actions and tasks on a website which needs free space on your disk in order to complete. Having low disk space may result in…
You should read this post in order to understand the methods to add custom css to WordPress admin end. In this post I will demonstrate how to add custom css styles which reflects within the Visual editor in WordPress.
In my Amazing Articles in Hindi website I use Google Adsense and affiliate advertisements to make money online. In some of the these advertisements I want them to stand out by a colored background and a dashed border. In fact,…
The following example demonstrates creating a simple toggle switch using plain html and css.
Vestacp is an open source server management tool. Once you install it on server it becomes an integral part of your server. Also, it comes under any PCI compliance scans you would run on your server. In my case I…
Containable behavior is used to get selected associated records in CAKEPHP 2. It helps to speed up process of retrieving records by fetching associated data at the same time. But for deep associations from level 2 (equal to recursive =2)…