Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Add global "from" and "replyTo" in configurations files #7

Open
jlenon7 opened this issue Dec 27, 2022 · 0 comments
Open
Labels
feature New feature or request good first issue Good for newcomers

Comments

@jlenon7
Copy link
Member

jlenon7 commented Dec 27, 2022

🚀 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:

{
  default: ...
  from: 'no-reply@athenna.io',
  replyTo: 'support@athenna.io, lenonsec7@gmail.com'
  mailers: [....,
}
@jlenon7 jlenon7 added the feature New feature or request label Dec 27, 2022
@jlenon7 jlenon7 added this to Athenna Dec 27, 2022
@jlenon7 jlenon7 moved this to Todo in Athenna Dec 27, 2022
@jlenon7 jlenon7 added the good first issue Good for newcomers label Jan 12, 2023
RobsonTrasel added a commit to RobsonTrasel/Mail that referenced this issue Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant