Skip to content

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

Description

@jlenon7

馃殌 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: [....,
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions