MailWatch icon indicating copy to clipboard operation
MailWatch copied to clipboard

Wishlist: control and syntax of email in lists.php

Open stefaweb opened this issue 9 years ago • 6 comments

We currently can enter wrong email and duplicate email in white and black list.

Will be nice to have a control of that.

stefaweb avatar Jan 20 '17 15:01 stefaweb

Define wrong email?

And yes, I agree we need to check for duplicates

asuweb avatar Jan 20 '17 15:01 asuweb

Sample in From: bad@[email protected]

stefaweb avatar Jan 20 '17 15:01 stefaweb

Same problem in detail.php (quarantine -> send to another email) and user_manager.php (new user and edit user).

Will be nice to have a function in functions.php to "sanitize" all email entered in forms.

stefaweb avatar Jan 20 '17 15:01 stefaweb

In HTML5 there exists the input type email which tests for valid mail on the user site. But we can't use it on the blacklist cause there also fqdn are allowed

Skywalker-11 avatar Jan 20 '17 15:01 Skywalker-11

And in reports.php

capture d ecran 2017-01-20 a 16 51 28

stefaweb avatar Jan 20 '17 15:01 stefaweb

Sample in From: bad@[email protected]

That's a valid mail format: https://tools.ietf.org/html/rfc5322 Section 3.2.1 + 3.4.1

Skywalker-11 avatar Nov 30 '17 21:11 Skywalker-11