Skip to content

Unable to pass arguments to email methods #299

@tomrossi7

Description

@tomrossi7

I'm not sure if this follows the opinion of Noticed, but some mailer methods accept both params and arguments. I believe the current email_format method only really sets the params. So for example, Noticed can't send an email notification to a mailer method like this:

UserMailer.with({ recipient: User.first }).new_comment(comment)

Is this something Noticed should support? If so, I can take a crack at a PR.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions