Hi,
I’m trying to implement a custom validation on the reply functionality.
When replying to an incoming email, I want to restrict the selectable "From" email addresses based on the sender of the original email. Example:
I’m trying to implement a custom validation on the reply functionality.
When replying to an incoming email, I want to restrict the selectable "From" email addresses based on the sender of the original email. Example:
- If the incoming email is from abc@gmail.com, then the reply should only be sent from def@gmail.com.
- If the user selects a different reply-from address (e.g., ghi@gmail.com), it should throw an error and prevent sending the email.
- This validation should support multiple such mappings, like:
- abc@gmail.com → only allow reply from def@gmail.com
- xyz@domain.com → only allow reply from noreply@domain.com
- What’s the best way to implement this kind of validation in EspoCRM?
Comment