Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Conditional logic #9

Closed
ChristopherNowlan opened this issue Dec 6, 2022 · 2 comments
Closed

Conditional logic #9

ChristopherNowlan opened this issue Dec 6, 2022 · 2 comments

Comments

@ChristopherNowlan
Copy link

Is there a way to send different emails based on a field a user fills out

@jacobsfletch
Copy link
Member

There's currently no built-in conditional logic for emails. although its possible to support. In the meantime, you might be able to leverage the beforeEmail hook on the plugin config, and write your conditions in the callback function instead.

@jacobsfletch
Copy link
Member

I'm going to convert this to a discussion so we can keep the conversation going there.

@payloadcms payloadcms locked and limited conversation to collaborators Jan 4, 2023
@jacobsfletch jacobsfletch converted this issue into discussion #16 Jan 4, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants