I am trying to implement a functionality with which user can specify his own settings for sending mail(SMTP config).
What I came up with is to overwrite the oro_email.direct_mailer service defined in EmailBundle in my own bundle (loaded after) with this:1234567oro_email.direct_mailer:class: %mekit_mailer.custom_mailer.class%arguments:- @mailer- @oro_config.user
And in my own class I created the necessary modifications for this to work.
The thing works.
My question is: Is this the correct way to do this?
oro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.