New answers tagged

0 votes

Mailer config in Craft 3 not getting merged

This was addressed in this issue and the MailerHelper::createMailer() method was deprecated as of Craft 3.0.18, App::mailerConfig() should be used instead. Changelog: https://github.com/craftcms/cms/...
user avatar
  • 6,341
0 votes

Mailer config in Craft 3 not getting merged

For me what worked is instantiating and returning a Craft object, see below: Also, you might want to consider abstracting away env variables. I am using Craft 4 return [ 'id' => App::env('...
user avatar
  • 101

Top 50 recent answers are included