Skip to content

Update email.js#374

Open
Imran-imtiaz48 wants to merge 1 commit intoArun9739:mainfrom
Imran-imtiaz48:patch-1
Open

Update email.js#374
Imran-imtiaz48 wants to merge 1 commit intoArun9739:mainfrom
Imran-imtiaz48:patch-1

Conversation

@Imran-imtiaz48
Copy link
Copy Markdown

Explanation:
• trim() removes extra whitespace.
• Regex Validation ensures the email format is correct.
• encodeURIComponent encodes the subject and body to make them URL-safe.

•	trim() removes extra whitespace.
•	Regex Validation ensures the email format is correct.
•	encodeURIComponent encodes the subject and body to make them URL-safe.
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