Skip to content

2.x feature/send otp on both emails#320

Open
we-shivang-g001-v1 wants to merge 2 commits into
2.xfrom
2.x-feature/send-otp-on-both-emails
Open

2.x feature/send otp on both emails#320
we-shivang-g001-v1 wants to merge 2 commits into
2.xfrom
2.x-feature/send-otp-on-both-emails

Conversation

@we-shivang-g001-v1

Copy link
Copy Markdown

Send Notification to Alternative Email

Description

This update ensures that notifications (such as OTPs, alerts, or system emails) are also sent to the user's alternative email address, if it is available.

Key Points

  • Sends email to the primary email address by default
  • Also sends the same email to the alternative email (if provided)
  • Skips sending to alternative email if the field is null or empty
  • Helps improve delivery reliability and user accessibility

Behavior

  • If alternate_email exists → send to both primary and alternative emails
  • If alternate_email is null → send only to primary email

Benefit

Ensures users receive important communications even if one email is inaccessible or missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant