Skip to content

Overridable Email Sending #221

@ianserlin

Description

@ianserlin

It's great that by default useraccounts uses the email package and MAIL_URL.

However, most of the time Useful IO uses packages that interact with 3rd party mail services over their HTTP interfaces because they provide additional features and are more easily loggable/retryable.

What do you think if about having a configurable way to send emails, e.g.

AccountsTemplates.configure({
   sendEmail: function(email /* as object */){
       // my custom code here
   }
});

that falls back on the default if not specified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions