I am working on CakePHP3 Save form after send email to user.
Gmail account receiving email without any obstacle but when sending email to Yahoo address. email not receiving on Yahoo account users.
I am using default Cake Email
class to send email provided by CakePHP 3. I did'nt do any other configuration for sending email just use below code.
Any help will be appropriated. Thanks in advance.
$email = new Email();
$email->setFrom(['me@example.com' => 'abc'])
->setTo('abc@yahoo.com')
->emailFormat('html')
->setSubject('Subject')
->send('Subject');