Skip to content

Access User Properties Inside MailAdapter  #6535

Closed
@SteffenKeller

Description

@SteffenKeller

I am using the parse-server-mailgun adapter to send verification and reset mails to my user. As my app is offered in different languages I am currently trying to localize those email by using different templates. Therefore I updated the sendVerificationEmail and sendPasswordResetEmail functions inside the adapter to read the user locale property that I set before on signup and serve the desired template.

Unfortunately calling user.get('locale') returns null and I don't know why.
Doesn't the mail adapter has access to the full user object?

Any help on this would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions