This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.