
~~~ Please read before posting. ~~~
Important: We need your Club Number at a minimum, and as many details as possible.
For further info please read
This page
before posting.
Strip trailing spaces from email addresses in Membership management
- timothygreenwood
-
Topic Author
- Offline
- New Member
-
- Posts: 17
- Thanks: 0
Strip trailing spaces from email addresses in Membership management
5 years 3 weeks ago
When adding new entries to the Membership Management section - members, guests etc. it is very easy to copy and paste an email address with a trailing space or tab. This results in a bad/illegal email and the opt-in or other emails will not be delivered with no notification. Since these trailing characters are not legal in email addresses then why not strip them out before adding them to the database. I believe that this is the behavior that the user expects and desires and it is a simple regular expression.
Tim Greenwood, Clipper City 8508
The topic has been locked.
- SteveTheTechie
-
- Offline
- Administrator
-
- Posts: 11526
- Thanks: 3050
Re: Strip trailing spaces from email addresses in Membership management
5 years 3 weeks ago
The code should already be doing that... are you saying it is not?
The topic has been locked.
- timothygreenwood
-
Topic Author
- Offline
- New Member
-
- Posts: 17
- Thanks: 0
Re: Strip trailing spaces from email addresses in Membership management
5 years 3 weeks ago
Yes, as I reported in the main forum. I used Quick Add to add a new guest with an email address ending .cc. The opt-in email was not sent - after a couple of attempts I discovered and removed the trailing space and clicked the resend button. This time the email was sent. Could it be that the email was a .cc rather than the more usual .com or .org?
Tim Greenwood, Clipper City 8508
The topic has been locked.
- SteveTheTechie
-
- Offline
- Administrator
-
- Posts: 11526
- Thanks: 3050
Re: Strip trailing spaces from email addresses in Membership management
5 years 3 weeks ago
Ok quick add matters and is different because the text is parsed.
I would need to see exactly what you entered.
I would need to see exactly what you entered.
The topic has been locked.
- timothygreenwood
-
Topic Author
- Offline
- New Member
-
- Posts: 17
- Thanks: 0
Re: Strip trailing spaces from email addresses in Membership management
5 years 2 weeks ago
I do not want to put all the details here - if you have access to our club website clippercity 8508 then you can see what we have now. I did a quick add to guests in the form of
name1 name2 name@name.cc 555-123-4567
so, now that I think about it I did not enter a spurious space, it parsed one in on quick add.
I later directly edited the list to remove a space after the .cc which enabled the opt-in message to be sent.
name1 name2 name@name.cc 555-123-4567
so, now that I think about it I did not enter a spurious space, it parsed one in on quick add.
I later directly edited the list to remove a space after the .cc which enabled the opt-in message to be sent.
Tim Greenwood, Clipper City 8508
The topic has been locked.
- SteveTheTechie
-
- Offline
- Administrator
-
- Posts: 11526
- Thanks: 3050
Re: Strip trailing spaces from email addresses in Membership management
5 years 2 weeks ago
Of course I have access to all the websites... I am the developer. However, that will not give me what you entered via Quick Add. It will only give me the result which does not give me the means to try to reproduce the issue.
Can you just PM me what you entered?
Can you just PM me what you entered?
The topic has been locked.
Moderators: Brian, Pam, rhtaylor3, marc33, NotLiable, NSB, jgavin, Lcala305, Heni, peterb323, DebbieT
Time to create page: 1.111 seconds
Copyright © 2025 FreeToastHost 3 Support. All Rights Reserved.