craw
craw

I have configured a sender email in October CMS Backend (exampel: test@gmail.com ) mail settings. I use the follwing code to send my mail:

    Mail::send('backend::emails.kontakt', $data, function($message)
    {
        $message->to('blabla@gmail.com');
        $message->from("custom@gmail.com", "Test123");
    });

The name is working but the From-mail is not the right email, it uses the email from the Backend-config (test@gmail.com) ....

Last updated

mike6629
mike6629

has anyone resolved this?

​

Last updated

1-3 of 3