New answers tagged craft-pro
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/...
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('...
Top 50 recent answers are included
Related Tags
craft-pro × 107craft3 × 24
plugin-development × 9
craft-features × 8
assets × 5
plugin-craftcommerce × 5
users × 5
localization × 5
templating × 4
admin × 4
entries × 3
plugins × 3
image-transforms × 3
performance × 3
permissions × 3
updates × 3
user-groups × 3
matrix × 2
categories × 2
control-panel × 2
database × 2
relations × 2
entry × 2
php × 2
config × 2