Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email validation in the CP #4304

Open
anthony8bc opened this issue May 9, 2024 · 2 comments · May be fixed by #4311
Open

Email validation in the CP #4304

anthony8bc opened this issue May 9, 2024 · 2 comments · May be fixed by #4311

Comments

@anthony8bc
Copy link

Description of the problem

When setting up the email service via:
Settings -> Outgoing Email
or attempting to send an email from the CP:
Tools -> Utilities -> Send Email
the validation for the Email field does not recognise an address such as [email protected] as being valid

How To Reproduce
Steps to reproduce the behavior:
Go to either Outgoing Email or Send mail and attempt to use [email protected] as an email address.

Error Messages


This field must contain a valid email address

Screenshots / Videos / Template Code
image

@bryannielsen
Copy link
Contributor

@anthony8bc what version of ExpressionEngine are you encountering this? I wasn't able to reproduce the error in 7.4.9 when I tested the Send Email utility with the data shown in your screenshot.

@anthony8bc
Copy link
Author

@bryannielsen - we're using v7.3.14.

I've just tested again and I've found that in the Send Email utility the validation is actually failing because I had a left a space at the end of the email address. I tried using different email addresses and each one fails validation if there's a trailing space at the end of the address. Removing the space passes validation. I didn't spot this before.

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 a pull request may close this issue.

2 participants