Good day everyone. AM trying to send mail from my Cpanel but the receiver is not getting the mail. I am using my custom email from my cpanel as sender email.please i need your help. below is my php mail function;
<?php
   
   ini_set('display_errors', 1);
   error_reporting(E_ALL);
                
   $from = 'info@sergiocastro.com.ng';
   $to = $email;
                
   $subject = "Email Verification Code";
   $message = "Your verification code is: $activationCode";
   $headers = 'From:' . $from;
   mail($to, $subject, $message, $headers);
