[Feature]: Add global "from" and "replyTo" in configurations files
Open
feature
good first issue
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### 🚀 Feature Proposal
Add a global `from` and `replyTo` properties in the configuration files. The `SmtpDriver` class should read the configuration file and get this default values. If `from` or `replyTo` method of `SmtpDriver` class are called, than it should subscribe the defaults.
### Motivation
Make it easier to send emails without having to repeatedly add information.
### Example
**config/mail.js file:**
```js
{
default: ...
from: 'no-reply@athenna.io',
replyTo: 'support@athenna.io, lenonsec7@gmail.com'
mailers: [....,
}
```
Contributor guide
Assessment
This issue has not been assessed yet.