Skip to content

Email Config $fromEmail not work #1021

Description

@HieuPT7

Hi
I set $fromEmail in App\Config\Email.php but not working when send email.
I set $email->setFrom('email@email.com', 'Email name');

Expected result:

$email = \Config\Services::email();
$email->setTo($member->user_email);
$email->setSubject('Email title');
$email->setMessage($body);
$email->send();

Actual result:

$email = \Config\Services::email();
I set $email->setFrom('email@email.com', 'Email name');
$email->setTo($member->user_email);
$email->setSubject('Email title');
$email->setMessage($body);
$email->send();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions