Override transport in code

Created on 16 March 2023, over 1 year ago
Updated 28 April 2023, about 1 year ago

Hi,

Is there a way to override the current transport in the settings in the code, for example in the settings.php ?

We have multiple sites that use mailtrap in dev or local, and when we deploy the project, the transport config is overwritten.
We need a solution to keep the real smtp used in config but override it when we're in dev or local.

Thanks.

πŸ’¬ Support request
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland Mistrae

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024