skip to Main Content

Can't run php spark serve, after upgrading php 8 – PHP Versions

PHP Deprecated: Required parameter $userAgent follows optional parameter $body in /media/asus/06D0D488D0D47EFD/Belajar Web/Codeigniter 4/toko-online-ci4/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 161 Deprecated: Required parameter $userAgent follows optional parameter $body in /media/asus/06D0D488D0D47EFD/Belajar Web/Codeigniter 4/toko-online-ci4/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 161 CodeIgniter CLI Tool - Version 4.0.4 - Server-Time: 2021-05-10…

VIEW QUESTION

Can't send server emails in CodeIgniter 4 – CPanel

I just hanged up to send server emails. I'm preparing email sending code like this: $email_config = Array( 'charset' => 'utf-8', 'mailType' => 'html' ); $email = ConfigServices::email(); $email->initialize($email_config); $email->setNewline("rn"); $email->setCRLF("rn"); $email->setFrom("[email protected]", "Sender name"); $email->setTo("[email protected]"); $email->setSubject("Test message"); $email->setMessage("Hello"); if ($email->send())…

VIEW QUESTION
Back To Top
Search