Feature Request: Intercept and save emails to files for local development
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 44
- Forks
- 13
- Avg merge
- 54m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reviewing the Yii3 mailer send path and comparing it with the Yii2 file-mailer behavior described in the issue. Done should mean that local development can intercept messages, save them under a runtime mail directory, and avoid sending them externally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100