mailer icon indicating copy to clipboard operation
mailer copied to clipboard

Feature Request: Intercept and save emails to files for local development

Open pamparam83 opened this issue 4 months ago • 3 comments

During local development, it is sometimes necessary to check the appearance of a sent email.

In Yii2, this was implemented as follows: the sent message was intercepted and saved in the runtime/mail directory. After that, it could be opened in a mail client like Thunderbird or another.

How can this be achieved in Yii3?

Is there a built-in mechanism similar to Yii2's file mailer? If not, I would like to request this feature. It is very useful for debugging and testing emails without actually sending them during development.

pamparam83 avatar Sep 22 '25 11:09 pamparam83